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:
863dfab
)
Small bug in userCan changes. Kudos to Raymond_ for spotting it
author
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 1 Aug 2007 13:15:37 +0000
(13:15 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 1 Aug 2007 13:15:37 +0000
(13:15 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
b5a6077
..
80adc1c
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1168,7
+1168,7
@@
class Title {
$groups = array();
global $wgGroupPermissions;
foreach( $wgGroupPermissions as $key => $value ) {
- if( isset( $value[$
permission] ) && $value[$permiss
ion] == true ) {
+ if( isset( $value[$
action] ) && $value[$act
ion] == true ) {
$groupName = User::getGroupName( $key );
$groupPage = User::getGroupPage( $key );
if( $groupPage ) {