Skip to content

Commit

Permalink
Remove non callable array items from field categories (#20093)
Browse files Browse the repository at this point in the history
* Update default.php

* Update fields.php

* Update default.php

* Update fields.php

* Update fields.php

* Update fields.php
  • Loading branch information
tonypartridge authored and Michael Babker committed Jun 29, 2018
1 parent bbaff21 commit 8ac66ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_fields/helpers/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public static function getAssignedCategoriesTitles($fieldId)

$query->select($db->quoteName('c.title'))
->from($db->quoteName('#__fields_categories', 'a'))
->join('LEFT', $db->quoteName('#__categories', 'c') . ' ON a.category_id = c.id')
->join('INNER', $db->quoteName('#__categories', 'c') . ' ON a.category_id = c.id')
->where('field_id = ' . $fieldId);

$db->setQuery($query);
Expand Down

0 comments on commit 8ac66ea

Please sign in to comment.