Created
June 3, 2016 04:05
-
-
Save olragon/1612fe3a63de572cfccd7f2ee71f625b to your computer and use it in GitHub Desktop.
Magento 1.9.1.0 with PHP 7 - patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// link: https://www.atwix.com/magento/magento-and-php-7/ | |
// file: app/code/core/Mage/Core/Model/Layout.php | |
// line: 555 | |
$out .= $this->getBlock($callback[0])->$callback[1](); | |
// should be | |
$out .= $this->getBlock($callback[0])->{$callback[1]}(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// link: _self_ | |
// file: lib/Varien/File/Uploader.php | |
// line: 259 | |
$params['object']->$params['method']($this->_file['tmp_name']); | |
// should be | |
$params['object']->{$params['method']}($this->_file['tmp_name']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment