diff --git a/include/class/anc_key.class.php b/include/class/anc_key.class.php index 16173a841..e8ece7087 100644 --- a/include/class/anc_key.class.php +++ b/include/class/anc_key.class.php @@ -319,7 +319,7 @@ class Anc_Key { global $cn; /* number is the index of the plan, he's computed from p_target */ - $number=preg_replace('/det[0-9]/', '', $p_target); + $number=preg_replace('/det[0-9]*/', '', $p_target); $number=noalyss_str_replace('t', '', $number); $number=noalyss_str_replace('popup', '', $number); diff --git a/include/template/ledger_detail_bottom.php b/include/template/ledger_detail_bottom.php index cdea88b46..8a5254541 100644 --- a/include/template/ledger_detail_bottom.php +++ b/include/template/ledger_detail_bottom.php @@ -10,6 +10,7 @@ * * Variables : $div = popup or box (det[0-9] *@var $obj = Acc_Operation + *@var $str_anc = HTML for analytic */ bcscale(2); \Noalyss\Dbg::echo_file(__FILE__);