Skip to content

Commit b609468

Browse files
author
foobar
committed
MFH
1 parent 733597e commit b609468

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/gd/gd.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3143,6 +3143,9 @@ PHP_FUNCTION(imagepstext)
31433143
ZEND_WRONG_PARAM_COUNT();
31443144
}
31453145

3146+
convert_to_string_ex(str);
3147+
convert_to_long_ex(sz);
3148+
31463149
ZEND_FETCH_RESOURCE(bg_img, gdImagePtr, img, -1, "Image", le_gd);
31473150
ZEND_FETCH_RESOURCE(f_ind, int *, fnt, -1, "Type 1 font", le_ps_font);
31483151

0 commit comments

Comments
 (0)