noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 18/46: Bug: possible to set an empy name for


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 18/46: Bug: possible to set an empy name for an Analytic plan
Date: Tue, 13 Jul 2021 05:01:54 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 14245bac9f1b8eee6ddb00a2183ec2559fe98d57
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Jun 14 13:15:59 2021 +0200

    Bug: possible to set an empy name for an Analytic plan
---
 include/ajax/ajax_anc_plan.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ajax/ajax_anc_plan.php b/include/ajax/ajax_anc_plan.php
index d839be0..0ba65a1 100644
--- a/include/ajax/ajax_anc_plan.php
+++ b/include/ajax/ajax_anc_plan.php
@@ -47,7 +47,7 @@ if ($action=="display") {
 }
 if ($action=="ok") {
     $value=$http->post("value");
-    if ( $input->name=="pa_name" && trim($input->value) == "") 
+    if ( $input->name=="pa_name" && trim($value) == "") 
     {
         echo _("Le nom ne peut être vide"),$answer->ajax_input();
     }else {



reply via email to

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