[Fusionforge-commits] r11287 - branches/Branch_5_0/gforge/plugins/projects_hierarchy/www
Alain Peyrat
aljeux at libremir.placard.fr.eu.org
Mon Nov 1 20:53:05 CET 2010
Author: aljeux
Date: 2010-11-01 20:53:05 +0100 (Mon, 01 Nov 2010)
New Revision: 11287
Modified:
branches/Branch_5_0/gforge/plugins/projects_hierarchy/www/hierarchy_utils.php
Log:
[#207] Backport file from trunk to fix php warning in project_hierarchy plugin
Modified: branches/Branch_5_0/gforge/plugins/projects_hierarchy/www/hierarchy_utils.php
===================================================================
--- branches/Branch_5_0/gforge/plugins/projects_hierarchy/www/hierarchy_utils.php 2010-11-01 19:48:49 UTC (rev 11286)
+++ branches/Branch_5_0/gforge/plugins/projects_hierarchy/www/hierarchy_utils.php 2010-11-01 19:53:05 UTC (rev 11287)
@@ -1,24 +1,22 @@
<?php
/*
- * Copyright 2004 GForge, LLC
+ * Copyright 2004 (c) GForge LLC
+ * Copyright 2006 (c) Fabien Regnier - Sogeti
*
- * @author Fabien Regnier fabien.regnier at sogeti.com
- * @date 2006-10-10
+ * This file is part of FusionForge.
*
- * This file is part of GForge.
- *
- * GForge is free software; you can redistribute it and/or modify
+ * FusionForge is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * GForge is distributed in the hope that it will be useful,
+ * FusionForge is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with GForge; if not, write to the Free Software
+ * along with FusionForge; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
@@ -28,10 +26,10 @@
$family = get_family($group_id);
$cond = '';
+ $skipped = array() ;
if($family != NULL){
reset($family);
- $skipped = array() ;
while (list($key, $val) = each($family)) {
$skipped[] = $val ;
}
More information about the Fusionforge-commits
mailing list