From 3440ce00a2f8aff676c47dd0b19db8c196e08d77 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Wed, 5 Apr 2006 09:20:41 +0000 Subject: [PATCH] initialize variable, right, thanks Brion! :) --- includes/Title.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Title.php b/includes/Title.php index ba1539e7cc..b32d8ccd7a 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1076,6 +1076,7 @@ class Title { function userCanRead() { global $wgUser; + $result = null; wfRunHooks( 'userCan', array( &$this, &$wgUser, 'read', &$result ) ); if ( $result !== null ) { return $result; -- 2.20.1