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:
4e37158
)
Fixed static member invocation, was broken since inception.
author
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 22 Mar 2007 22:56:16 +0000
(22:56 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 22 Mar 2007 22:56:16 +0000
(22:56 +0000)
includes/Hooks.php
patch
|
blob
|
history
diff --git
a/includes/Hooks.php
b/includes/Hooks.php
index
dd3c003
..
b428b08
100644
(file)
--- a/
includes/Hooks.php
+++ b/
includes/Hooks.php
@@
-102,7
+102,7
@@
function wfRunHooks($event, $args = null) {
if ( isset( $object ) ) {
$func = get_class( $object ) . '::' . $method;
$callback = array( $object, $method );
- } elseif ( false !== ( $pos = strpos(
'::', $func
) ) ) {
+ } elseif ( false !== ( $pos = strpos(
$func, '::'
) ) ) {
$callback = array( substr( $func, 0, $pos ), substr( $func, $pos + 2 ) );
} else {
$callback = $func;