noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/35: fid.php : retrieve parameters with saf


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/35: fid.php : retrieve parameters with safe function
Date: Tue, 24 May 2016 21:25:37 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit b38e10d2ce9554b2321d4e635993039161dd2a4c
Author: Dany De Bontridder <address@hidden>
Date:   Fri Mar 25 08:56:55 2016 +0100

    fid.php : retrieve parameters with safe function
---
 html/fid.php |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/html/fid.php b/html/fid.php
index a095301..6953e08 100644
--- a/html/fid.php
+++ b/html/fid.php
@@ -56,8 +56,10 @@ 
$fPrice_purchase=(isset($_REQUEST['b']))?$_REQUEST['b']:'none';
 
 if ( isset($_SESSION['isValid']) && $_SESSION['isValid'] == 1)
 {
+    $jrn=HtmlInput::default_value_get('j', '-1');
     $jrn=sql_string($_GET['j']);
-    $d=sql_string($_GET['d']);
+    $d=HtmlInput::default_value_get('d', '');
+    $d=sql_string($d);
 
     if ( $jrn == -1 )
         $d='all';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]