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 = ¶ms[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);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php