[Fusionforge-commits] FusionForge branch master updated. d9d9de51b088c1a31b9fb866bdc13f914cb50b6e

Franck Villaume nerville at fusionforge.org
Wed Sep 10 18:08:38 CEST 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  d9d9de51b088c1a31b9fb866bdc13f914cb50b6e (commit)
      from  c842781f7f101cc30086b5fd5d5a3807a1ce2b58 (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 d9d9de51b088c1a31b9fb866bdc13f914cb50b6e
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Sep 10 18:05:50 2014 +0200

    my page: fix default layout_id

diff --git a/src/www/my/index.php b/src/www/my/index.php
index a24a3c1..c0c80e8 100644
--- a/src/www/my/index.php
+++ b/src/www/my/index.php
@@ -48,6 +48,9 @@ $sql = "SELECT l.*
 		";
 $res = db_query_params($sql,array('u', $user->getID()));
 $layout_id = db_result($res, 0 , 'id');
+if (!$layout_id) {
+	$layout_id = 1;
+}
 
 $ap = html_ap();
 echo html_ao('ul', array('class' => 'widget_toolbar'));

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

Summary of changes:
 src/www/my/index.php |    3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list