cvs: php-src /ext/standard array.c

From: Date: Tue, 27 Dec 2005 23:27:02 +0000
Subject: cvs: php-src /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36277@lists.php.net to get a copy of this message
tony2001 Tue Dec 27 23:27:02 2005 EDT Modified files: /php-src/ext/standard array.c Log: tweak the fix http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/array.c?r1=1.334&r2=1.335&diff_format=u Index: php-src/ext/standard/array.c diff -u php-src/ext/standard/array.c:1.334 php-src/ext/standard/array.c:1.335 --- php-src/ext/standard/array.c:1.334 Tue Dec 27 22:33:40 2005 +++ php-src/ext/standard/array.c Tue Dec 27 23:27:02 2005 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.334 2005/12/27 22:33:40 tony2001 Exp $ */ +/* $Id: array.c,v 1.335 2005/12/27 23:27:02 tony2001 Exp $ */ #include "php.h" #include "php_ini.h" @@ -4603,7 +4603,7 @@ fci.params = &params[1]; fci.no_separation = 0; - if (!zend_call_function(&fci, &fci_cache TSRMLS_CC) == SUCCESS || !result) { + if (zend_call_function(&fci, &fci_cache TSRMLS_CC) != SUCCESS || !result) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the map callback"); efree(array_len); efree(args);

« previous php.cvs (#36277) next »