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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user