// Fixed #PSTEST-953
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14363 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
3a91294343
commit
564d9e2183
1 file changed
+1
@@ -871,6 +871,7 @@ class CartRuleCore extends ObjectModel
|
||||
'.($i18n ? 'LEFT JOIN `'._DB_PREFIX_.$type.'_lang` tl ON (t.id_'.$type.' = tl.id_'.$type.' AND tl.id_lang = '.(int)Context::getContext()->language->id.')' : '').'
|
||||
WHERE 1
|
||||
'.($active_only ? 'AND t.active = 1' : '').'
|
||||
'.(in_array($type, array('carrier', 'shop')) ? ' AND t.deleted = 0' : '').'
|
||||
'.($type == 'cart_rule' ? 'AND t.id_cart_rule != '.(int)$this->id : '').'
|
||||
ORDER BY name ASC');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user