[-] BO : #PSCFV-2473 - Fix bug with attribute value and shop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15531 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user