projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f046cdf
)
tweak the fix
author
Antony Dovgal
<tony2001@php.net>
Tue, 27 Dec 2005 23:26:55 +0000
(23:26 +0000)
committer
Antony Dovgal
<tony2001@php.net>
Tue, 27 Dec 2005 23:26:55 +0000
(23:26 +0000)
ext/standard/array.c
patch
|
blob
|
history
diff --git
a/ext/standard/array.c
b/ext/standard/array.c
index bb6338dd73ea5063cfa6ad0221476013d33ec16d..53dec421c6a35a66780d0bbce6b8863bb685de7b 100644
(file)
--- 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);