[Fusionforge-commits] FusionForge branch master updated. e51672186abf6b7ced9f07c5a8a04536c3945e13

Franck Villaume nerville at fusionforge.org
Thu Dec 11 21:53:07 CET 2014


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, master has been updated
       via  e51672186abf6b7ced9f07c5a8a04536c3945e13 (commit)
      from  9d30325692ffa9e6536d8acb839b935a553cce2c (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 e51672186abf6b7ced9f07c5a8a04536c3945e13
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Dec 11 21:52:51 2014 +0100

    complete php fix

diff --git a/src/www/scm/include/scm_utils.php b/src/www/scm/include/scm_utils.php
index 3be591d..1b7e2c5 100644
--- a/src/www/scm/include/scm_utils.php
+++ b/src/www/scm/include/scm_utils.php
@@ -41,7 +41,7 @@ function scm_header($params) {
 		exit_disabled();
 	}
 
-	if (isset($params['inframe'])) {
+	if (isset($params['inframe']) && $params['inframe']) {
 		echo html_ao('html');
 		echo html_ao('body');
 		echo html_ao('div');
@@ -75,7 +75,7 @@ function scm_header($params) {
 	echo html_ao('div', array('id' => 'scm', 'class' => 'scm'));
 }
 
-function scm_footer($params = array('inframe'=>0)) {
+function scm_footer($params = array('inframe' => 0)) {
 	echo html_ac(html_ap() -1);
 	if ($params['inframe']) {
 		return;

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

Summary of changes:
 src/www/scm/include/scm_utils.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list