// Fixed #PSTEST-501

This commit is contained in:
bMancone
2012-01-17 17:13:57 +00:00
parent f9b07a19eb
commit 021a5a8dcd
6 changed files with 33 additions and 8 deletions
+4 -1
View File
@@ -157,7 +157,10 @@ class ProductSupplierCore extends ObjectModel
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);
$res = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
return $res[0];
if (isset($res[0]))
return $res[0];
return $res;
}
/**