Fixed admin_fields_conditions edit view to insure an array gets given to the count function

This commit is contained in:
2018-04-27 15:45:50 +02:00
parent 74f2d8df56
commit cec566176d
10 changed files with 20 additions and 12 deletions

View File

@ -2116,7 +2116,7 @@ class Get
// Create a new query object.
$query = $this->db->getQuery(true);
// Order it by the ordering field.
// Select all the values in the field
$query->select('a.*');
$query->select($this->db->quoteName(array('c.name', 'c.properties'), array('type_name', 'properties')));
$query->from('#__componentbuilder_field AS a');