Actions
Bug #62961
closedWarning because of missing entry noScale
Start date:
2014-11-14
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
#1: PHP Warning: Illegal string offset 'noScale' in /export/home/typo3/typo3_sources/typo3_src-6.2.6/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php line 2216 (More information) TYPO3\CMS\Core\Error\Exception thrown in file /export/home/typo3/typo3_sources/typo3_src-6.2.6/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101. 11 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Illegal string offset 'noScale'", "/export/home/typo3/typo3_sources/typo3_src-6.2.6/t…sysext/core/Classes/Imaging/GraphicalFunctions.php", 2216, array) /export/home/typo3/typo3_sources/typo3_src-6.2.6/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php: 02214: // given or if the destination w/h matches the original image 02215: // dimensions or if the option to not scale the image is set) 02216: $noScale = !$w && !$h || $data[0] == $info[0] && $data[1] == $info[1] || $options['noScale']; 02217: if ($noScale && !$data['crs'] && !$params && !$frame && $newExt == $info[2] && !$mustCreate) { 02218: // Set the new width and height before returning,
there is a missing check if the array key exists.
problem in 6.2 and 7.x
Actions