diff --git a/html/recherche.php b/html/recherche.php index f9f47c17e..f34549a23 100644 --- a/html/recherche.php +++ b/html/recherche.php @@ -74,7 +74,7 @@ window.onload=function () { create_anchor_up(); init_scroll(); - sorttable.init + sorttable.init(); } $v) - $r.=HtmlInput::hidden('r_jrn['.$k.']',$v); + $http=new HttpInput(); + $a_rjrn=$http->get("r_jrn","array"); + foreach ($a_rjrn as $k=>$v) { + // Protect : check that $k and $v are numeric + if (isNumber($k)&&isNumber($v)) { + $r.=HtmlInput::hidden('r_jrn['.$k.']',$v); + } + } } echo '
'; echo $r;