diff options
author | foobar <sniper@php.net> | 2002-09-20 01:01:24 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-09-20 01:01:24 +0000 |
commit | b6094680a2aa7f1b596203d7d84cf8be0e9185a0 (patch) | |
tree | 9f153ef9ff006bedc8eb320eabdd18e08d946b76 | |
parent | 733597e29165b411bd9dea5be6a7e6e0b6725d83 (diff) | |
download | php-git-b6094680a2aa7f1b596203d7d84cf8be0e9185a0.tar.gz |
MFH
-rw-r--r-- | ext/gd/gd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 57e238708b..a265be78c6 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -3143,6 +3143,9 @@ PHP_FUNCTION(imagepstext) ZEND_WRONG_PARAM_COUNT(); } + convert_to_string_ex(str); + convert_to_long_ex(sz); + ZEND_FETCH_RESOURCE(bg_img, gdImagePtr, img, -1, "Image", le_gd); ZEND_FETCH_RESOURCE(f_ind, int *, fnt, -1, "Type 1 font", le_ps_font); |