MFB51: Not a fatal error.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 29 Dec 2005 22:00:09 +0000 (22:00 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 29 Dec 2005 22:00:09 +0000 (22:00 +0000)
ext/gd/gd.c

index 8c6593ed6acffa4a2fabb0159f62ce66ec770a96..d5947d945431d15b5c71404d560c03edf00adf18 100644 (file)
@@ -3165,7 +3165,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;
        }