[Fusionforge-commits] r11520 - trunk/src/common/include

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sat Nov 13 15:49:18 CET 2010


Author: cbayle
Date: 2010-11-13 15:49:18 +0100 (Sat, 13 Nov 2010)
New Revision: 11520

Modified:
   trunk/src/common/include/config-vars.php
Log:
Remove ldap passwd warning


Modified: trunk/src/common/include/config-vars.php
===================================================================
--- trunk/src/common/include/config-vars.php	2010-11-11 22:30:51 UTC (rev 11519)
+++ trunk/src/common/include/config-vars.php	2010-11-13 14:49:18 UTC (rev 11520)
@@ -104,7 +104,7 @@
 forge_define_config_item ('ldap_base_dn', 'core', $GLOBALS['sys_ldap_base_dn']) ;
 forge_define_config_item ('ldap_bind_dn', 'core', $GLOBALS['sys_ldap_bind_dn']) ;
 forge_define_config_item ('ldap_admin_dn', 'core', $GLOBALS['sys_ldap_admin_dn']) ;
-forge_define_config_item ('ldap_password', 'core', $GLOBALS['sys_ldap_passwd']) ;
+forge_define_config_item ('ldap_password', 'core', isset($GLOBALS['sys_ldap_passwd']) ? $GLOBALS['sys_ldap_passwd'] : '') ;
 forge_define_config_item ('news_group', 'core', $GLOBALS['sys_news_group']) ;
 forge_define_config_item ('stats_group', 'core', $GLOBALS['sys_stats_group']) ;
 forge_define_config_item ('peer_rating_group', 'core', $GLOBALS['sys_peer_rating_group']) ;




More information about the Fusionforge-commits mailing list