diff options
author | Antony Dovgal <tony2001@php.net> | 2005-12-27 23:26:55 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-12-27 23:26:55 +0000 |
commit | b5aeda4e655638527c054f62fa7d45e8bf87eec3 (patch) | |
tree | 0b37a5358a96e6d81bb08ecfcf086cab9c671e84 | |
parent | f046cdf3fa1558232c0658d3587220b5deab68a0 (diff) | |
download | php-git-b5aeda4e655638527c054f62fa7d45e8bf87eec3.tar.gz |
tweak the fix
-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 bb6338dd73..53dec421c6 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -4347,7 +4347,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); |