[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] cvs: php-src /ext/gd gd.c
From:       "Felipe Pena" <felipe () php ! net>
Date:       2008-02-28 17:43:32
Message-ID: cvsfelipe1204220612 () cvsserver
[Download RAW message or body]

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
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.384 2008/02/28 14:16:12 felipe Exp $ */
+/* $Id: gd.c,v 1.385 2008/02/28 17:43:32 felipe Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
    Cold Spring Harbor Labs. */
@@ -1351,7 +1351,7 @@
 PHP_FUNCTION(gd_info)
 {
 	if (zend_parse_parameters_none() == FAILURE) {
-		return;
+		RETURN_FALSE;
 	}
 
 	array_init(return_value);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic