From 17b532e175fd8e7dc17a34af610b6f2479382348 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 2 Jul 2005 09:14:30 +0000 Subject: [PATCH] fixed hook call --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } } -- 2.20.1