[Fusionforge-commits] FusionForge branch Branch_5_2 updated. 50f58a1ade2cc58c903045f93b282cd957b6fa06

Roland Mas lolando at fusionforge.org
Fri Jun 14 14:44:52 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_2 has been updated
       via  50f58a1ade2cc58c903045f93b282cd957b6fa06 (commit)
      from  665d1d2f787570c4e685120046a7a6a103d274dc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50f58a1ade2cc58c903045f93b282cd957b6fa06
Author: Roland Mas <lolando at debian.org>
Date:   Fri Jun 14 14:44:43 2013 +0200

    Fixed PHP warning

diff --git a/src/common/include/config.php b/src/common/include/config.php
index a1bc828..616342e 100644
--- a/src/common/include/config.php
+++ b/src/common/include/config.php
@@ -115,6 +115,9 @@ class FusionForgeConfig {
 			$sections = parse_ini_file ($filename, true) ;
 			if (is_array($sections)) {
 				foreach ($sections as $section => $options) {
+					if (!is_array($options)) {
+						continue;
+					}
 					foreach ($options as $var => $value) {
 						if ($fallback_only) {
 							$this->set_value($section,$var,$value);

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/config.php |    3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list