forked from joomla/Component-Builder
fixed gh-53 the database error call on a.*, very strange
This commit is contained in:
parent
bd0febd92c
commit
d31b0b6c0c
@ -101,7 +101,7 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
|||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
|
|
||||||
// Select some fields
|
// Select some fields
|
||||||
$query->select($db->quoteName('a.*'));
|
$query->select(array('a.*'));
|
||||||
|
|
||||||
// From the componentbuilder_joomla_component table
|
// From the componentbuilder_joomla_component table
|
||||||
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
|
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
|
||||||
@ -459,7 +459,7 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
|||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
|
|
||||||
// Select some fields
|
// Select some fields
|
||||||
$query->select($db->quoteName('a.*'));
|
$query->select(array('a.*'));
|
||||||
|
|
||||||
// From the componentbuilder_ANY table
|
// From the componentbuilder_ANY table
|
||||||
$query->from($db->quoteName('#__componentbuilder_'. $table, 'a'));
|
$query->from($db->quoteName('#__componentbuilder_'. $table, 'a'));
|
||||||
|
Loading…
Reference in New Issue
Block a user