noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 20/30: fix bug followup cannot add first comm


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 20/30: fix bug followup cannot add first comment
Date: Sat, 3 Dec 2022 08:35:13 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit c4540d17db4e7c2462c120403b3a9bcce5c96bff
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Nov 27 19:20:04 2022 +0100

    fix bug followup cannot add first comment
---
 include/class/follow_up.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/follow_up.class.php 
b/include/class/follow_up.class.php
index c1eedd534..7b82d5635 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -608,12 +608,12 @@ class Follow_Up
         $doc->upload($this->ag_id);
         if (trim($this->ag_comment)!='' && 
Document_Option::can_add_comment($this->ag_id))
         {
-            $this->db->exec_sql("insert into action_gestion_comment 
(ag_id,tech_user,agc_comment,agc_comment_raw) values ($1,$2,$3)"
+            $this->db->exec_sql("insert into action_gestion_comment 
(ag_id,tech_user,agc_comment,agc_comment_raw) values ($1,$2,$3,$4)"
                 , array($this->ag_id, $_SESSION[SESSION_KEY.'g_user'], 
strip_tags($this->ag_description),$this->ag_comment));
         }
         if (trim($this->ag_description)!='' && 
Document_Option::can_add_comment($this->ag_id))
         {
-            $this->db->exec_sql("insert into action_gestion_comment 
(ag_id,tech_user,agc_comment,agc_comment_raw) values ($1,$2,$3)"
+            $this->db->exec_sql("insert into action_gestion_comment 
(ag_id,tech_user,agc_comment,agc_comment_raw) values ($1,$2,$3,$4)"
                 , array($this->ag_id, 
$_SESSION[SESSION_KEY.'g_user'],strip_tags($this->ag_description), 
$this->ag_description));
         }
         $this->insert_operation();



reply via email to

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