mirror of
https://github.com/php/php-src.git
synced 2026-04-09 00:53:30 +02:00
I could have sworn I test compiled this when I committed it a couple of
days ago. Must have been hallucinating.
This commit is contained in:
@@ -1578,7 +1578,7 @@ PHP_FUNCTION(imagecolorat)
|
||||
ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd);
|
||||
|
||||
#if HAVE_LIBGD20
|
||||
if(im->truecolor) {
|
||||
if(im->trueColor) {
|
||||
php_error(E_WARNING, "ImageColorAt does not work on TrueColor images");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user