fixed hook call
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 2 Jul 2005 09:14:30 +0000 (09:14 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 2 Jul 2005 09:14:30 +0000 (09:14 +0000)
index.php

index 7b61ddf..c808f95 100644 (file)
--- 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' );
                                }
                }