diff options
author | Antony Dovgal <tony2001@php.net> | 2005-12-27 23:27:02 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-12-27 23:27:02 +0000 |
commit | 64d9c70e4cb254d919daf4ee81c32bd7aafc5e10 (patch) | |
tree | b3452fde9434faacf00b6f59105034868545012c /ext/standard/array.c | |
parent | 38722a19c11b445ca522a68c22118123eca7f351 (diff) | |
download | php-git-64d9c70e4cb254d919daf4ee81c32bd7aafc5e10.tar.gz |
tweak the fix
Diffstat (limited to 'ext/standard/array.c')
-rw-r--r-- | ext/standard/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c index b7225ae15a..4d15a1b19a 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -4603,7 +4603,7 @@ PHP_FUNCTION(array_map) 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); |