Robert Vogel has submitted this change and it was merged.
Change subject: GroupHelper: Fixed notice
......................................................................
GroupHelper: Fixed notice
Change-Id: If1e482d65d785b13ce72d05f9eca60954c13407c
---
M includes/utility/GroupHelper.class.php
1 file changed, 7 insertions(+), 3 deletions(-)
Approvals:
Robert Vogel: Verified; Looks good to me, approved
diff --git a/includes/utility/GroupHelper.class.php
b/includes/utility/GroupHelper.class.php
index 7bdb809..5ee56c1 100644
--- a/includes/utility/GroupHelper.class.php
+++ b/includes/utility/GroupHelper.class.php
@@ -94,10 +94,14 @@
continue;
}
foreach( $aNamespaces as $iNs) {
- if( in_array( $sGroupName,
$GLOBALS['wgNamespacePermissionLockdown'][$iNs][$sPermission] )) {
- continue;
+ if(
isset($GLOBALS['wgNamespacePermissionLockdown'][$iNs][$sPermission]) ) {
+ if( in_array(
+ $sGroupName,
+
$GLOBALS['wgNamespacePermissionLockdown'][$iNs][$sPermission]
+ )) continue;
}
-
$GLOBALS['wgNamespacePermissionLockdown'][$iNs][$sPermission][] = $sGroupName;
+
$GLOBALS['wgNamespacePermissionLockdown'][$iNs][$sPermission][]
+ = $sGroupName;
}
}
}
--
To view, visit https://gerrit.wikimedia.org/r/189009
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If1e482d65d785b13ce72d05f9eca60954c13407c
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Pwirth <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pigpen <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits