Skip to content

Commit f7e1bf1

Browse files
author
Vitaliy Boyko
committed
Corrected condition
1 parent 2f861e5 commit f7e1bf1

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogRule/Model

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogRule/Model/Rule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ protected function _invalidateCache()
588588
*/
589589
public function afterSave()
590590
{
591-
if ($this->getIsActive()) {
591+
if (!$this->getIsActive()) {
592592
return parent::afterSave();
593593
}
594594

0 commit comments

Comments
 (0)