[-] BO : #PSCFV-2473 - Fix bug with attribute value and shop

This commit is contained in:
mDeflotte
2012-05-21 15:32:56 +00:00
parent 0973bde8db
commit 21be2b2b1f
4 changed files with 9 additions and 2 deletions
@@ -461,7 +461,7 @@ class AdminFeaturesControllerCore extends AdminController
$item = &$this->_list[$i];
$query = new DbQuery();
$query->select('COUNT(id_feature_value) as count_values');
$query->select('COUNT(fv.id_feature_value) as count_values');
$query->from('feature_value', 'fv');
$query->where('fv.id_feature ='.(int)$item['id_feature']);
$res = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);