Skip to content

Commit

Permalink
Fix display condition of admin notification message
Browse files Browse the repository at this point in the history
  • Loading branch information
guvra committed Dec 2, 2024
1 parent 4a14cc6 commit 247ba73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Message/ProductionMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function getIdentity()
*/
public function isDisplayed()
{
return $this->deploymentConfig->get(State::PARAM_MODE) !== State::MODE_PRODUCTION;
return $this->deploymentConfig->get(State::PARAM_MODE) === State::MODE_PRODUCTION;
}

/**
Expand Down

0 comments on commit 247ba73

Please sign in to comment.