Skip to content

Commit 3336b5b

Browse files
committed
Fix: [ bug #1553 ] Saving User displays setup removes menu
1 parent f0c9513 commit 3336b5b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ Fix: [ bug #1528 ] Leopard Services numeration module description is not transla
1515
Fix: [ bug #1523 ] suite bug #1334 : filtre et ordre de tri conjoints ne s'appliquent pas.
1616
Fix: [ bug #1534 ] Unknown error when deleting a product photo under special circumstances.
1717
Fix: Update impayees.php
18-
Fix: Link product, In list view and label product
18+
Fix: Link product, In list view and label product.
1919
Fix: visible task into area "time" for "My task" must limit task to tasks i am assigned to.
2020
Fix: When disabled, all fields to add time into task line must be disabled.
2121
Fix: Missing include files.lib.php in some pages ti use dol_delete_recursive.
2222
Fix: [ bug #1558 ] Product/service edit page title shows new Ref instead of old ref.
23+
Fix: [ bug #1553 ] Saving User displays setup removes menu.
2324

2425
***** ChangeLog for 3.5.4 compared to 3.5.3 *****
2526
Fix: Hide title of event when agenda module disabled.

htdocs/user/param_ihm.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
/* Copyright (C) 2005-2013 Laurent Destailleur <eldy@users.sourceforge.net>
2+
/* Copyright (C) 2005-2014 Laurent Destailleur <eldy@users.sourceforge.net>
33
* Copyright (C) 2010-2012 Regis Houssin <regis.houssin@capnetworks.com>
44
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro.com>
55
*
@@ -87,8 +87,6 @@
8787
if ($_POST["check_MAIN_LANG_DEFAULT"]=="on") $tabparam["MAIN_LANG_DEFAULT"]=$_POST["main_lang_default"];
8888
else $tabparam["MAIN_LANG_DEFAULT"]='';
8989

90-
$tabparam["MAIN_MENU_STANDARD"]=$_POST["MAIN_MENU_STANDARD"];
91-
9290
if ($_POST["check_SIZE_LISTE_LIMIT"]=="on") $tabparam["MAIN_SIZE_LISTE_LIMIT"]=$_POST["main_size_liste_limit"];
9391
else $tabparam["MAIN_SIZE_LISTE_LIMIT"]='';
9492

@@ -101,8 +99,6 @@
10199

102100
$result=dol_set_user_param($db, $conf, $fuser, $tabparam);
103101

104-
$_SESSION["mainmenu"]=""; // Le gestionnaire de menu a pu changer
105-
106102
header('Location: '.$_SERVER["PHP_SELF"].'?id='.$id);
107103
exit;
108104
}

0 commit comments

Comments
 (0)