fix: [tag:search] Correctly pass user data

pull/6120/head
mokaddem 2020-11-16 15:14:37 +01:00
parent b99603bb91
commit 334b7cabe1
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ class TagsController extends AppController
$tags[$k]['Taxonomy'] = $taxonomy['Taxonomy'];
$tags[$k]['TaxonomyPredicate'] = $taxonomy['TaxonomyPredicate'][0];
}
$cluster = $this->GalaxyCluster->getCluster($t['Tag']['name'], $this->Auth->user);
$cluster = $this->GalaxyCluster->getCluster($t['Tag']['name'], $this->Auth->user());
if (!empty($cluster)) {
$dataFound = true;
$tags[$k]['GalaxyCluster'] = $cluster['GalaxyCluster'];