Skip to content

Commit

Permalink
MAG1-202: built in conflict messages
Browse files Browse the repository at this point in the history
- Changes behavior of warning and prevent savings from "enable" configuration
  • Loading branch information
ebanolopes committed Mar 7, 2018
1 parent 066d5ea commit ee7fbe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Model/System/Config/Backend/Enabled.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ public function beforeSave()
$isAnotherEnabled = $this->_config->getValue($path == $signifydPath ? $builtinPath : $signifydPath, 'store');

if ($isAnotherEnabled) {
$currentConfig = $this->_config->getValue($builtinPath);
if ($currentConfig == 0) {
if ($this->getOldValue() == 0) {
$this->setValue(0);
}

Expand Down

0 comments on commit ee7fbe8

Please sign in to comment.