Fix cart rule feature flag refresh
This commit is contained in:
@@ -1477,10 +1477,7 @@ class CartRuleCore extends ObjectModel
|
||||
*/
|
||||
public static function isFeatureActive()
|
||||
{
|
||||
static $is_feature_active = null;
|
||||
if ($is_feature_active === null || $is_feature_active === false) {
|
||||
$is_feature_active = (bool)Configuration::get('PS_CART_RULE_FEATURE_ACTIVE');
|
||||
}
|
||||
$is_feature_active = (bool)Configuration::get('PS_CART_RULE_FEATURE_ACTIVE');
|
||||
return $is_feature_active;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user