felipe Thu Feb 28 17:43:32 2008 UTC
Modified files:
/php-src/ext/gd gd.c
Log:
Fixed return value changed previously
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.384&r2=1.385&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.384 php-src/ext/gd/gd.c:1.385
--- php-src/ext/gd/gd.c:1.384 Thu Feb 28 14:16:12 2008
+++ php-src/ext/gd/gd.c Thu Feb 28 17:43:32 2008
@@ -1351,7 +1351,7 @@
PHP_FUNCTION(gd_info)
{
if (zend_parse_parameters_none() == FAILURE) {
- return;
+ RETURN_FALSE;
}
You can leave the 'return;' there, as it's current practice to return NULL
when it fails the parameter validation. You may have to tune some tests,
though.
Nuno
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php