remove direct access to superglobal

This commit is contained in:
Dany 2021-06-09 11:06:44 +00:00
parent e222eb2764
commit d8ef319648

View file

@ -241,7 +241,7 @@ if (isset($_POST["FMOD_NAME"]))
}
// Show all available templates
require_once NOALYSS_INCLUDE.'/lib/sort_table.class.php';
$url=$_SERVER['PHP_SELF']."?sa=list&action=".$_REQUEST['action'];
$url=$_SERVER['PHP_SELF']."?".http_build_query(array("sa"=>"list","action"=>$http->request('action')));
$header=new Sort_Table();
$header->add(_("id"),$url," order by mod_id asc"," order by mod_id desc","ia","id");
@ -353,7 +353,7 @@ if ($sa == 'list')
$available.='</SELECT>';
}//if count !=0
?>
<form action="admin-noalyss.php?action=modele_mgt" METHOD="post">
<form action="admin-noalyss.php?action=modele_mgt" METHOD="post" onsubmit="waiting_box();return true;">
<TABLE>
<tr>
<td><?php echo _('Nom')?> </TD>