dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5251c2a
)
Workaround for call_user_func_array bug
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 8 Apr 2008 09:51:13 +0000
(09:51 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 8 Apr 2008 09:51:13 +0000
(09:51 +0000)
includes/Hooks.php
patch
|
blob
|
history
diff --git
a/includes/Hooks.php
b/includes/Hooks.php
index
0ef2743
..
d1ed4a2
100644
(file)
--- a/
includes/Hooks.php
+++ b/
includes/Hooks.php
@@
-108,6
+108,9
@@
function wfRunHooks($event, $args = array()) {
$callback = $func;
}
+ // Run autoloader (workaround for call_user_func_array bug)
+ is_callable( $callback );
+
/* Call the hook. */
wfProfileIn( $func );
$retval = call_user_func_array( $callback, $hook_args );