diff options
author | Tim Starling <tstarling@users.mediawiki.org> | 2005-07-02 09:14:30 +0000 |
---|---|---|
committer | Tim Starling <tstarling@users.mediawiki.org> | 2005-07-02 09:14:30 +0000 |
commit | 17b532e175fd8e7dc17a34af610b6f2479382348 (patch) | |
tree | 68a97cc1175afcea6ca608f5a26c3eba867abaae | |
parent | d62c3ba4d93fe0884d96b628fa2cb1fbe157c63b (diff) | |
download | mediawikicore-17b532e175fd8e7dc17a34af610b6f2479382348.tar.gz mediawikicore-17b532e175fd8e7dc17a34af610b6f2479382348.zip |
fixed hook call
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9825
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php index 7b61ddf5ffb8..c808f95b97f7 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' ); } } |