1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00

Merge branch 'PHP-5.5'

* PHP-5.5:
  FALSE on error
This commit is contained in:
Pierre Joye
2013-03-27 05:13:42 +01:00
+1 -1
View File
@@ -1822,7 +1822,7 @@ PHP_FUNCTION(imagepalettetotruecolor)
ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd);
if (gdImagePaletteToTrueColor(im) == 0) {
RETURN_TRUE;
RETURN_FALSE;
}
RETURN_TRUE;