From: Domas Mituzas Date: Wed, 5 Apr 2006 09:20:41 +0000 (+0000) Subject: initialize variable, right, thanks Brion! :) X-Git-Tag: 1.6.0~4 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=3440ce00a2f8aff676c47dd0b19db8c196e08d77 initialize variable, right, thanks Brion! :) --- 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;