noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 08/219: profil : CFGPRO , correct


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 08/219: profil : CFGPRO , correct
Date: Mon, 18 Dec 2017 13:22:27 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 4c5f488a019ca21174a3d4918dc05b63d5e113f5
Author: Dany De Bontridder <address@hidden>
Date:   Wed Jul 12 21:50:11 2017 +0200

    profil  : CFGPRO , correct
---
 include/profile.inc.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/profile.inc.php b/include/profile.inc.php
index 18f6f2c..99433e1 100644
--- a/include/profile.inc.php
+++ b/include/profile.inc.php
@@ -261,11 +261,11 @@ if 
(isset($_POST['add_menu'])||isset($_POST['add_impress']))
     try
     {
         // type of menu me or pr
-        $p_type=$http->post("type");
+        $p_type=$http->post("type","string",null);
         // level
-        $p_level=$http->post("p_level");
+        $p_level=$http->post("p_level","string",null);
         // pm_id of menu parent
-        $p_dep=$http->post("dep");
+        $p_dep=$http->post("dep","number",null);
         // profile id
         $p_id=$http->post("p_id", "number");
         // display order 



reply via email to

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