Skip to content

Commit b8232c5

Browse files
committed
magento/magento2#12285: The option <var name="allowfullscreen">false</var> for mobile device don't work in product view page gallery
1 parent bf40afa commit b8232c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Config/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function parseVarElement(\DOMElement $node)
103103
}
104104
}
105105
if (!count($result)) {
106-
$result = (strtolower($node->nodeValue) !== 'true' && strtolower($node->nodeValue) !== 'false')
106+
$result = (strtolower($node->nodeValue) !== 'true' && strtolower($node->nodeValue) !== 'false')
107107
? $node->nodeValue
108108
: filter_var($node->nodeValue, FILTER_VALIDATE_BOOLEAN);
109109
}

0 commit comments

Comments
 (0)