[Fusionforge-commits] r7622 - branches/Branch_4_8/gforge/common/include
Roland Mas
lolando at libremir.placard.fr.eu.org
Thu May 7 11:22:29 CEST 2009
Author: lolando
Date: 2009-05-07 11:22:29 +0200 (Thu, 07 May 2009)
New Revision: 7622
Modified:
branches/Branch_4_8/gforge/common/include/Role.class.php
Log:
Fixed error when approving join request in a project that doesn't use all the tools
Modified: branches/Branch_4_8/gforge/common/include/Role.class.php
===================================================================
--- branches/Branch_4_8/gforge/common/include/Role.class.php 2009-05-07 09:17:49 UTC (rev 7621)
+++ branches/Branch_4_8/gforge/common/include/Role.class.php 2009-05-07 09:22:29 UTC (rev 7622)
@@ -276,7 +276,11 @@
if (!$ref_id) {
$ref_id=0;
}
- return $this->setting_array[$section][$ref_id];
+ if (array_key_exists ($section, $this->setting_array)) {
+ return $this->setting_array[$section][$ref_id];
+ } else {
+ return 0 ;
+ }
}
/**
More information about the Fusionforge-commits
mailing list