Fix: [ bug #1553 ] Saving User displays setup removes menu
This commit is contained in:
parent
f0c9513fa9
commit
3336b5bdce
@ -15,11 +15,12 @@ Fix: [ bug #1528 ] Leopard Services numeration module description is not transla
|
|||||||
Fix: [ bug #1523 ] suite bug #1334 : filtre et ordre de tri conjoints ne s'appliquent pas.
|
Fix: [ bug #1523 ] suite bug #1334 : filtre et ordre de tri conjoints ne s'appliquent pas.
|
||||||
Fix: [ bug #1534 ] Unknown error when deleting a product photo under special circumstances.
|
Fix: [ bug #1534 ] Unknown error when deleting a product photo under special circumstances.
|
||||||
Fix: Update impayees.php
|
Fix: Update impayees.php
|
||||||
Fix: Link product, In list view and label product
|
Fix: Link product, In list view and label product.
|
||||||
Fix: visible task into area "time" for "My task" must limit task to tasks i am assigned to.
|
Fix: visible task into area "time" for "My task" must limit task to tasks i am assigned to.
|
||||||
Fix: When disabled, all fields to add time into task line must be disabled.
|
Fix: When disabled, all fields to add time into task line must be disabled.
|
||||||
Fix: Missing include files.lib.php in some pages ti use dol_delete_recursive.
|
Fix: Missing include files.lib.php in some pages ti use dol_delete_recursive.
|
||||||
Fix: [ bug #1558 ] Product/service edit page title shows new Ref instead of old ref.
|
Fix: [ bug #1558 ] Product/service edit page title shows new Ref instead of old ref.
|
||||||
|
Fix: [ bug #1553 ] Saving User displays setup removes menu.
|
||||||
|
|
||||||
***** ChangeLog for 3.5.4 compared to 3.5.3 *****
|
***** ChangeLog for 3.5.4 compared to 3.5.3 *****
|
||||||
Fix: Hide title of event when agenda module disabled.
|
Fix: Hide title of event when agenda module disabled.
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2005-2014 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2010-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2010-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro.com>
|
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro.com>
|
||||||
*
|
*
|
||||||
@ -87,8 +87,6 @@ if ($action == 'update' && ($caneditfield || ! empty($user->admin)))
|
|||||||
if ($_POST["check_MAIN_LANG_DEFAULT"]=="on") $tabparam["MAIN_LANG_DEFAULT"]=$_POST["main_lang_default"];
|
if ($_POST["check_MAIN_LANG_DEFAULT"]=="on") $tabparam["MAIN_LANG_DEFAULT"]=$_POST["main_lang_default"];
|
||||||
else $tabparam["MAIN_LANG_DEFAULT"]='';
|
else $tabparam["MAIN_LANG_DEFAULT"]='';
|
||||||
|
|
||||||
$tabparam["MAIN_MENU_STANDARD"]=$_POST["MAIN_MENU_STANDARD"];
|
|
||||||
|
|
||||||
if ($_POST["check_SIZE_LISTE_LIMIT"]=="on") $tabparam["MAIN_SIZE_LISTE_LIMIT"]=$_POST["main_size_liste_limit"];
|
if ($_POST["check_SIZE_LISTE_LIMIT"]=="on") $tabparam["MAIN_SIZE_LISTE_LIMIT"]=$_POST["main_size_liste_limit"];
|
||||||
else $tabparam["MAIN_SIZE_LISTE_LIMIT"]='';
|
else $tabparam["MAIN_SIZE_LISTE_LIMIT"]='';
|
||||||
|
|
||||||
@ -101,8 +99,6 @@ if ($action == 'update' && ($caneditfield || ! empty($user->admin)))
|
|||||||
|
|
||||||
$result=dol_set_user_param($db, $conf, $fuser, $tabparam);
|
$result=dol_set_user_param($db, $conf, $fuser, $tabparam);
|
||||||
|
|
||||||
$_SESSION["mainmenu"]=""; // Le gestionnaire de menu a pu changer
|
|
||||||
|
|
||||||
header('Location: '.$_SERVER["PHP_SELF"].'?id='.$id);
|
header('Location: '.$_SERVER["PHP_SELF"].'?id='.$id);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user