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 9b2cdf6 commit fb71912Copy full SHA for fb71912
app/Mage.php
@@ -410,7 +410,8 @@ public static function getStoreConfig($path, $store = null)
410
*/
411
public static function getStoreConfigFlag($path, $store = null)
412
{
413
- $flag = strtolower(self::getStoreConfig($path, $store));
+ $flag = self::getStoreConfig($path, $store);
414
+ $flag = is_string($flag) ? strtolower($flag) : $flag;
415
if (!empty($flag) && $flag !== 'false') {
416
return true;
417
} else {
0 commit comments