[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/03: Bug with template
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 02/03: Bug with template |
Date: |
Sun, 16 Jul 2023 16:30:05 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 4420a634c31836a29bb1a60db76515eecfb95de7
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Jul 12 00:04:24 2023 +0200
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)
{