[Fusionforge-commits] r11896 - trunk/src/common/widget

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sat Dec 25 18:27:36 CET 2010


Author: nerville
Date: 2010-12-25 18:27:36 +0100 (Sat, 25 Dec 2010)
New Revision: 11896

Modified:
   trunk/src/common/widget/Widget_MyAdmin.class.php
Log:
fix warning

Modified: trunk/src/common/widget/Widget_MyAdmin.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyAdmin.class.php	2010-12-25 17:26:16 UTC (rev 11895)
+++ trunk/src/common/widget/Widget_MyAdmin.class.php	2010-12-25 17:27:36 UTC (rev 11896)
@@ -51,7 +51,7 @@
 			$this->_get_color($pending_users)
 			);
 		
-		if ($GLOBALS['sys_user_approval'] == 1) {
+		if (isset($GLOBALS['sys_user_approval']) && $GLOBALS['sys_user_approval'] == 1) {
 			$html_my_admin .= $this->_get_admin_row(
 				$i++, 
 				vsprintf(_('Validated users <a href="%s"><B>pending email activation</B></a>'), array("/admin/approve_pending_users.php?page=validated")),




More information about the Fusionforge-commits mailing list