Skip to content

Commit

Permalink
Update administrator/components/com_tags/src/Helper/AssociationsHelpe…
Browse files Browse the repository at this point in the history
…r.php

Co-authored-by: Quy <quy@nomonkeybiz.com>
  • Loading branch information
Hackwar and Quy committed Mar 28, 2023
1 parent 4e1fe44 commit aaa94bc
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ public function getItem($typeName, $id)
public function getType($typeName = '')
{
$fields = $this->getFieldsTemplate();
$tables = array();
$joins = array();
$tables = [];
$joins = [];
$support = $this->getSupportTemplate();
$title = '';

Expand All @@ -161,21 +161,21 @@ public function getType($typeName = '')
$support['category'] = true;
$support['save2copy'] = true;

$tables = array(
$tables = [
'a' => '#__tags'
);
];

$title = 'tag';
break;
}
}

return array(
return [
'fields' => $fields,
'support' => $support,
'tables' => $tables,
'joins' => $joins,
'title' => $title
);
];
}
}

0 comments on commit aaa94bc

Please sign in to comment.