noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 10/46: remove direct access to superglobal


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 10/46: remove direct access to superglobal
Date: Tue, 13 Jul 2021 05:01:50 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit d8ef31964830416768b15f5a1bd2ed0a5453bf6d
Author: Dany <danydb@noalyss.eu>
AuthorDate: Wed Jun 9 11:06:44 2021 +0000

    remove direct access to  superglobal
---
 include/modele.inc.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/modele.inc.php b/include/modele.inc.php
index 65a6dbe..4b30a5b 100644
--- a/include/modele.inc.php
+++ b/include/modele.inc.php
@@ -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>



reply via email to

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