// Change prototype of methods from(), leftJoin(), innerJoin(), leftOuterJoin() and naturalJoin() for DbQuery class

This commit is contained in:
rMalie
2011-12-19 11:13:13 +00:00
parent 27d3da3bda
commit ff3f1804ec
23 changed files with 183 additions and 202 deletions
+2 -2
View File
@@ -829,11 +829,11 @@ class InstallXmlLoader
// Build query
$sql = new DbQuery();
$sql->select('a.*');
$sql->from($entity.' a');
$sql->from($entity, 'a');
if ($is_multilang)
{
$sql->select('b.*');
$sql->leftJoin($entity.'_lang b ON a.'.$primary.' = b.'.$primary);
$sql->leftJoin($entity.'_lang', 'b', 'a.'.$primary.' = b.'.$primary);
}
if (isset($config['sql']) && $config['sql'])