iliaa Thu Dec 29 22:00:09 2005 EDT
Modified files:
/php-src/ext/gd gd.c
Log:
MFB51: Not a fatal error.
http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/gd.c?r1=1.336&r2=1.337&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.336 php-src/ext/gd/gd.c:1.337
--- php-src/ext/gd/gd.c:1.336 Tue Dec 27 00:16:05 2005
+++ php-src/ext/gd/gd.c Thu Dec 29 22:00:09 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.336 2005/12/27 00:16:05 pajoye Exp $ */
+/* $Id: gd.c,v 1.337 2005/12/29 22:00:09 iliaa Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -3165,7 +3165,7 @@
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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php