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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11351 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-19 11:13:13 +00:00
parent 09d15124b0
commit b7ae37f6d7
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'])