[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();
- [Noalyss-commit] [noalyss] 11/30: Improve Test and set the Patch level to 181, (continued)
- [Noalyss-commit] [noalyss] 11/30: Improve Test and set the Patch level to 181, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 13/30: Better error message when cannot save a plugin, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 12/30: Fix : bug cannot save an empty FIN Ledger, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 14/30: Bug Fiche_Def->insertAttribut when needed to compute an attribute order, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 26/30: WHen creating from follow-up , keep a link to the event in the operation, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 24/30: Cosmetic, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 23/30: Comptability : Falkon doesn't understand the javascript token "??", Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 10/30: Bug : typo change by accident function name, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 16/30: Fix bug : prevent identical tags on operation, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 21/30: Change DB version, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 20/30: fix bug followup cannot add first comment,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 22/30: cosmetic : waiting_box, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 15/30: Cosmetic :, Dany De Bontridder, 2022/12/03