// fix shop association generation with HelperForm

This commit is contained in:
tDidierjean
2011-11-03 17:27:30 +00:00
parent 4a50f283ea
commit cdf22f1f11
5 changed files with 12 additions and 5 deletions
+1
View File
@@ -279,6 +279,7 @@ class HelperCore
$assos = array();
$sql = 'SELECT id_'.$type.', `'.pSQL($this->identifier).'`
FROM `'._DB_PREFIX_.pSQL($this->table).'_'.$type.'`';
foreach (Db::getInstance()->executeS($sql) as $row)
$assos[$row['id_'.$type]][] = $row[$this->identifier];