[Fusionforge-commits] r15319 - branches/Branch_5_2/src/common/include

Franck VILLAUME nerville at fusionforge.org
Mon Apr 9 16:18:27 CEST 2012


Author: nerville
Date: 2012-04-09 16:18:26 +0200 (Mon, 09 Apr 2012)
New Revision: 15319

Modified:
   branches/Branch_5_2/src/common/include/Group.class.php
Log:
fix php warning #379

Modified: branches/Branch_5_2/src/common/include/Group.class.php
===================================================================
--- branches/Branch_5_2/src/common/include/Group.class.php	2012-04-09 14:02:17 UTC (rev 15318)
+++ branches/Branch_5_2/src/common/include/Group.class.php	2012-04-09 14:18:26 UTC (rev 15319)
@@ -6,6 +6,7 @@
  * Copyright 2009-2010, Roland Mas
  * Copyright 2010-2011, Franck Villaume - Capgemini
  * Copyright 2010-2011, Alain Peyrat - Alcatel-Lucent
+ * Copyright 2012, Franck Villaume - TrivialDev
  * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -685,7 +686,7 @@
 
 		// Check that status transition is valid
 		if ($this->getStatus() != $status
-			&& !$allowed_status_changes[$this->getStatus().$status]) {
+			&& !in_array($this->getStatus(). $status,$allowed_status_changes)) {
 			$this->setError(_('Invalid Status Change'));
 			return false;
 		}




More information about the Fusionforge-commits mailing list