summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/gd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 5aaaf5cf52..7a171c7836 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -3402,7 +3402,7 @@ PHP_FUNCTION(imagepsextendfont)
T1_DeleteAllSizes(*f_ind);
if (Z_DVAL_PP(ext) <= 0) {
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "Second parameter %f out of range (must be > 0)", Z_DVAL_PP(ext));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Second parameter %f out of range (must be > 0)", Z_DVAL_PP(ext));
RETURN_FALSE;
}