[Fusionforge-commits] r11972 - branches/Branch_5_1/src/plugins/mediawiki/common

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Jan 12 09:50:01 CET 2011


Author: lolando
Date: 2011-01-12 09:50:00 +0100 (Wed, 12 Jan 2011)
New Revision: 11972

Modified:
   branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php
Log:
Fixed permission checking in Mediawiki plugin

Modified: branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php	2011-01-11 19:17:02 UTC (rev 11971)
+++ branches/Branch_5_1/src/plugins/mediawiki/common/MediaWikiPlugin.class.php	2011-01-12 08:50:00 UTC (rev 11972)
@@ -250,6 +250,7 @@
 				break ;
 			}
 		} elseif ($hookname == "role_has_permission") {
+			$value = $params['value'];
 			switch ($params['section']) {
 			case 'plugin_mediawiki_read':
 				switch ($params['action']) {




More information about the Fusionforge-commits mailing list