integration menu dynamique

This commit is contained in:
Dany De Bontridder 2011-10-28 21:47:32 +00:00
parent 03e0464b93
commit 016bb6219e
7 changed files with 62 additions and 50 deletions

View file

@ -196,8 +196,8 @@ if ( isset ( $_POST["Ajout"] ) )
if ( isset ( $p_val) && isset ( $p_lib ) )
{
$p_val=$cn->get_value('select format_account($1)',array($p_val));
$p_parent=$cn->get_value('select format_account($1)',array($_POST["p_parent"]));
$p_val=trim($p_val);
$p_parent=$_POST["p_parent"];
if ( strlen ($p_val) != 0 && strlen ($p_lib) != 0 )
{
if (strlen ($p_val) == 1 )