From: Pierre Joye Date: Wed, 27 Mar 2013 04:13:30 +0000 (+0100) Subject: FALSE on error X-Git-Tag: php-5.5.0beta2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3ebb40ad6041e9c29e165f9d7017fb50063129f;p=php FALSE on error --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 23a6ec9143..3ce1a2cf23 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1814,7 +1814,7 @@ PHP_FUNCTION(imagepalettetotruecolor) ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); if (gdImagePaletteToTrueColor(im) == 0) { - RETURN_TRUE; + RETURN_FALSE; } RETURN_TRUE;