[Fusionforge-commits] r11366 - trunk/src/plugins/wiki/www/lib/WikiUser

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Nov 3 21:40:16 CET 2010


Author: aljeux
Date: 2010-11-03 21:40:16 +0100 (Wed, 03 Nov 2010)
New Revision: 11366

Modified:
   trunk/src/plugins/wiki/www/lib/WikiUser/FusionForge.php
Log:
Wiki: Temporary hack about getIsExternal() not available in ff.

Modified: trunk/src/plugins/wiki/www/lib/WikiUser/FusionForge.php
===================================================================
--- trunk/src/plugins/wiki/www/lib/WikiUser/FusionForge.php	2010-11-03 20:40:02 UTC (rev 11365)
+++ trunk/src/plugins/wiki/www/lib/WikiUser/FusionForge.php	2010-11-03 20:40:16 UTC (rev 11366)
@@ -74,7 +74,7 @@
 
             if ($member) {
                 $this->_userid = $user->getRealName();
-                $this->_is_external = $user->getIsExternal();
+                $this->_is_external = method_exists($user, 'getIsExternal') && $user->getIsExternal();
                 if ($perm->isAdmin()) {
                     $this->_level = WIKIAUTH_ADMIN;
                 } else {




More information about the Fusionforge-commits mailing list