1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00

this should be here..styles must be array

This commit is contained in:
foobar
2001-06-11 15:21:47 +00:00
parent 491fcd2ef8
commit 73bfcd8a8a

View File

@@ -499,6 +499,7 @@ PHP_FUNCTION(imagesetstyle)
}
ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd);
convert_to_array_ex(styles);
/* copy the style values in the stylearr */
stylearr = emalloc(sizeof(int) * zend_hash_num_elements(HASH_OF(*styles)));