[BUGFIX] Use proper TYPO3_CONF_VARS IM option 65/60465/2
authorBenni Mack <benni@typo3.org>
Sat, 13 Apr 2019 06:33:10 +0000 (08:33 +0200)
committerSusanne Moog <look@susi.dev>
Sun, 14 Apr 2019 14:02:13 +0000 (16:02 +0200)
There is a copy/paste typo in LocalCropScaleMaskHelper,
which was introduced in TYPO3 v8.

The setting $TYPO3_CONF_VARS[GFX][processor_stripColorProfileCommand]
is the correct one.

Resolves: #87548
Releases: master, 9.5
Change-Id: I4f9e4f3f62e1b577a986c96a31d4438da1bc7f74
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60465
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/core/Classes/Resource/Processing/LocalCropScaleMaskHelper.php

index b5b3ca4..addb151 100644 (file)
@@ -325,7 +325,7 @@ class LocalCropScaleMaskHelper
                 $configuration['stripProfile']
                 && $GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileCommand'] !== ''
             ) {
-                $parameters = $GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripProfileCommand'] . $parameters;
+                $parameters = $GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileCommand'] . $parameters;
             } else {
                 $parameters .= '###SkipStripProfile###';
             }