]> granicus.if.org Git - php/commitdiff
Not a fatal error.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 29 Dec 2005 21:59:39 +0000 (21:59 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 29 Dec 2005 21:59:39 +0000 (21:59 +0000)
ext/gd/gd.c

index 5aaaf5cf52ce7ad2ca327a634acfbd2503b04983..7a171c7836102181ffb6ed70a3bb6a7d65e790cb 100644 (file)
@@ -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;
        }