diff options
| -rw-r--r-- | ext/gd/gd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 21aa9e2727..49370a75d2 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -4964,7 +4964,7 @@ PHP_FUNCTION(imagecrop) zval *z_rect; zval **tmp; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|a", &IM, &z_rect) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &IM, &z_rect) == FAILURE) { return; } |
