Skip to content

Commit

Permalink
magento/magento2#12285: The option <var name="allowfullscreen">false<…
Browse files Browse the repository at this point in the history
…/var> for mobile device don't work in product view page gallery
  • Loading branch information
p-bystritsky committed Dec 13, 2017
1 parent bf40afa commit b8232c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/Config/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected function parseVarElement(\DOMElement $node)
}
}
if (!count($result)) {
$result = (strtolower($node->nodeValue) !== 'true' && strtolower($node->nodeValue) !== 'false')
$result = (strtolower($node->nodeValue) !== 'true' && strtolower($node->nodeValue) !== 'false')
? $node->nodeValue
: filter_var($node->nodeValue, FILTER_VALIDATE_BOOLEAN);
}
Expand Down

0 comments on commit b8232c5

Please sign in to comment.