We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b9eee commit c202af9Copy full SHA for c202af9
app/code/core/Mage/Adminhtml/Block/System/Config/Form.php
@@ -627,14 +627,11 @@ protected function _canShowField($field)
627
628
switch ($this->getScope()) {
629
case self::SCOPE_DEFAULT:
630
- return (int)$field->show_in_default;
631
- break;
+ return (bool)$field->show_in_default;
632
case self::SCOPE_WEBSITES:
633
- return (int)$field->show_in_website;
634
+ return (bool)$field->show_in_website;
635
case self::SCOPE_STORES:
636
- return (int)$field->show_in_store;
637
+ return (bool)$field->show_in_store;
638
}
639
return true;
640
0 commit comments