';
$exercice=new Exercice($cn);
$old='';
-$fiche=new Fiche($cn,$_GET['f_id']);
+$fiche=new Fiche($cn,$http->get('f_id',"number"));
$year=$g_user->get_exercice();
if ( $year == 0 )
{
@@ -43,7 +44,7 @@ else
$array['to_periode']=$limit_periode[1]->last_day();
if (isset($_GET['ex']))
{
- $limit_periode=$per->get_limit($_GET['ex']);
+ $limit_periode=$per->get_limit($http->get('ex','number'));
$array['from_periode']=$limit_periode[0]->first_day();
}
@@ -52,16 +53,16 @@ else
*/
if ($exercice->count() > 1 )
{
- $default=(isset($_GET['ex']))?$_GET['ex']:$year;
+ $default=$http->get("ex","number",$year);
$dossier=dossier::id();
$old='';
}
diff --git a/include/category_card.inc.php b/include/category_card.inc.php
index ce26bc148..42f0e2f85 100644
--- a/include/category_card.inc.php
+++ b/include/category_card.inc.php
@@ -140,7 +140,7 @@ if ($ss_action=='cn')
echo '
';
echo dossier::hidden();
- $f=new Fiche($cn, $_REQUEST['f_id']);
+ $f=new Fiche($cn, $http->request('f_id','number'));
$contact=new Contact($cn);
$contact->company=$f->get_quick_code();
echo $contact->summary("");
diff --git a/include/lettering.gestion.inc.php b/include/lettering.gestion.inc.php
index ad44c2afc..f4a1c559c 100644
--- a/include/lettering.gestion.inc.php
+++ b/include/lettering.gestion.inc.php
@@ -6,14 +6,14 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/lettering.class.php';
global $g_user;
echo '
';
-
+$http=new HttpInput();
echo '
';
echo '