From: Tim Starling Date: Sat, 2 Jul 2005 09:14:30 +0000 (+0000) Subject: fixed hook call X-Git-Tag: 1.5.0beta2~82 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=17b532e175fd8e7dc17a34af610b6f2479382348;p=lhc%2Fweb%2Fwiklou.git fixed hook call --- diff --git a/index.php b/index.php index 7b61ddf5ff..c808f95b97 100644 --- a/index.php +++ b/index.php @@ -240,7 +240,7 @@ if( !$wgDisableInternalSearch && !is_null( $search ) && $search !== '' ) { $wgArticle->view(); break; default: - if (wfRunHooks('UnknownAction', $action, $wgArticle)) { + if (wfRunHooks('UnknownAction', array($action, $wgArticle))) { $wgOut->errorpage( 'nosuchaction', 'nosuchactiontext' ); } }