[Fusionforge-commits] r7051 - trunk/gforge/plugins/scmcvs/common

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Feb 24 09:05:23 CET 2009


Author: aljeux
Date: 2009-02-24 09:05:23 +0100 (Tue, 24 Feb 2009)
New Revision: 7051

Modified:
   trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php
Log:
Fixed two notices

Modified: trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php
===================================================================
--- trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php	2009-02-23 23:31:53 UTC (rev 7050)
+++ trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php	2009-02-24 08:05:23 UTC (rev 7051)
@@ -168,12 +168,12 @@
 			return false;
 		}
 		if ($group->usesPlugin($this->name)) {
-			if ($params['scmcvs_enable_anoncvs']) {
+			if (array_key_exists('scmcvs_enable_anoncvs', $params)){
 				$group->SetUsesAnonSCM(true);
 			} else {
 				$group->SetUsesAnonSCM(false);
 			}
-			if ($params['scmcvs_enable_pserver']) {
+			if (array_key_exists('scmcvs_enable_pserver', $params)){
 				$group->SetUsesPserver(true);
 			} else {
 				$group->SetUsesPserver(false);




More information about the Fusionforge-commits mailing list