dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639105a
)
Avoid E_NOTICE for wikis that give no rights to anonymous users.
author
Andrew Garrett
<werdna@users.mediawiki.org>
Thu, 5 Feb 2009 07:52:19 +0000
(07:52 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Thu, 5 Feb 2009 07:52:19 +0000
(07:52 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
d665f2b
..
d6ce01e
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1496,7
+1496,7
@@
class Title {
}
# Shortcut for public wikis, allows skipping quite a bit of code
- if (
$wgGroupPermissions['*']['read']
)
+ if (
!empty( $wgGroupPermissions['*'] )
)
return true;
if( $wgUser->isAllowed( 'read' ) ) {