From 4420a634c31836a29bb1a60db76515eecfb95de7 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 12 Jul 2023 00:04:24 +0200 Subject: [PATCH] Bug with template --- include/modele.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/modele.inc.php b/include/modele.inc.php index 3fbf1923c..3873375b4 100644 --- a/include/modele.inc.php +++ b/include/modele.inc.php @@ -35,7 +35,7 @@ if (isset($_POST['upd']) && { $name=$http->post('name'); $desc =$http->post('desc'); - $mod_id=$http->post("m", 0); + $mod_id=$http->post("m", "number",0); if (trim($name) != "" && $mod_id != 0 && isNumber($mod_id)==1) {