From: Ilia Alshanetsky Date: Thu, 29 Dec 2005 21:59:39 +0000 (+0000) Subject: Not a fatal error. X-Git-Tag: php-5.1.2RC2~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c32e974aaf38271cbcc3edc29198cf627ca242f;p=php Not a fatal error. --- 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; }