[BUGFIX] Variable access instead of function call 47/19847/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 12 Apr 2013 14:03:10 +0000 (16:03 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 12 Apr 2013 14:05:08 +0000 (16:05 +0200)
Change-Id: I8b840819633e7409ed086e3bf3de0b90aee96b1e
Related: #47162
Fixes: #47165
Releases: 6.1
Reviewed-on: https://review.typo3.org/19847
Reviewed-by: Markus Goldbeck
Tested-by: Markus Goldbeck
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Classes/Installer.php

index fd2ec47..c90946c 100644 (file)
@@ -3070,7 +3070,7 @@ REMOTE_ADDR was \'' . \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REMOTE
         */
        public function checkTrueTypeSupport() {
                $im = @imagecreate(300, 50);
-               $imagecolorallocate($im, 255, 255, 55);
+               imagecolorallocate($im, 255, 255, 55);
                $text_color = imagecolorallocate($im, 233, 14, 91);
                @imagettftext(
                        $im,