diff --git a/html/central.php b/html/central.php
index d4e701fa2..767ae0300 100644
--- a/html/central.php
+++ b/html/central.php
@@ -49,7 +49,7 @@ if ( $User->CheckAction($cn,CENTRALIZE)==0 ) {
include_once("central_inc.php");
echo '
';
diff --git a/html/jrn_update.php b/html/jrn_update.php
index 7494ffb69..38481cb35 100644
--- a/html/jrn_update.php
+++ b/html/jrn_update.php
@@ -43,7 +43,7 @@ if ( $User->CheckAction($cn,GJRN) == 0 ) {
}
echo '';
html_page_stop();
diff --git a/html/pcmn_update.php b/html/pcmn_update.php
index 548194989..ae302cc63 100644
--- a/html/pcmn_update.php
+++ b/html/pcmn_update.php
@@ -59,7 +59,7 @@ if ( isset ($_GET['p_start'])) {
}
echo '';
echo '';
diff --git a/html/stock.php b/html/stock.php
index fcba5fb7f..e10cfef81 100644
--- a/html/stock.php
+++ b/html/stock.php
@@ -60,7 +60,7 @@ include_once ("user_menu.php");
ShowMenuCompta($_SESSION['g_dossier']);
// Show Menu Left
-$left_menu=ShowMenuAdvanced();
+$left_menu=ShowMenuAdvanced("stock.php");
//echo '';
diff --git a/include/user_menu.php b/include/user_menu.php
index b1fd959c0..814cbf23f 100644
--- a/include/user_menu.php
+++ b/include/user_menu.php
@@ -457,7 +457,7 @@ function u_ShowMenuRecherche($p_cn,$p_jrn,$p_sessid,$p_array=null)
* - none
* return: the menu
*/
-function ShowMenuAdvanced() {
+function ShowMenuAdvanced($default="") {
// Show the left menu
$left_menu=ShowItem(array(
//('rapprt.php','Rapprochement'),
@@ -466,7 +466,7 @@ $left_menu=ShowItem(array(
array('pcmn_update.php?p_start=1','Plan Comptable'),
array('stock.php','stock')
),
- 'H',"cell","mtitle");
+ 'H',"cell","mtitle",$default);
return $left_menu;
}
/* function ShowJrn