Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Oct 2, 2024
1 parent 39e4ee5 commit 81045ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Cms/Model/Resource/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected function _beforeSave(Mage_Core_Model_Abstract $object)

if (!$object->getIsActive()) {
$isUsedInConfig = $this->getUsedInStoreConfigCollection($object);
if ($isUsedInConfig->count()) {
if ($isUsedInConfig->count()) {
$object->setIsActive(true);
Mage::getSingleton('adminhtml/session')->addWarning(
Mage::helper('cms')->__(
Expand Down

0 comments on commit 81045ab

Please sign in to comment.