[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 15/38: bug follow-up
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 15/38: bug follow-up |
Date: |
Sun, 18 Feb 2024 07:30:43 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit b1f96914d81fbd2d26f4c4a92a42d7f8253d408d
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Feb 3 16:13:09 2024 +0100
bug follow-up
---
include/class/follow_up.class.php | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/class/follow_up.class.php
b/include/class/follow_up.class.php
index 8a3b426aa..f39b3c218 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -995,8 +995,12 @@ class Follow_Up
where agc_id = $4 "
, array(strip_tags($this->ag_description),
$this->ag_description, $_SESSION[SESSION_KEY.'g_user'],
$this->ag_description_id));
- $this->db->exec_sql("insert into
action_comment_document(document_id,action_gestion_comment_id) values ($1,$2)",
- [$document_id,$this->ag_description_id]);
+ if ( ! empty ($document_saved)) {
+ foreach ($document_saved as $document_id) {
+ $this->db->exec_sql("insert into
action_comment_document(document_id,action_gestion_comment_id) values ($1,$2)",
+ [$document_id,$this->ag_id]);
+ }
+ }
}
$this->insert_operation();
$this->insert_action();
- [Noalyss-commit] [noalyss] branch devel updated (23653dddb -> 910ae8b9f), dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 06/38: Task #2219 Suivi Cosmétique et PHP8.1 Compatibility, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 01/38: Cosmetic : Alignement, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 15/38: bug follow-up,
dwm <=
- [Noalyss-commit] [noalyss] 12/38: Task #02326: Suivi : possibilité de charger plusieurs documents, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 04/38: Tableau de bord : position des détail, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 02/38: Correction : prevent direct access to $_REQUEST, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 03/38: version 9.2, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 08/38: Task #2128 : Comptabilité française : report, montre le solde de l'année et depuis le début pour les fiches, postes en HTML et PDF, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 05/38: SUIVI : détail , montre nom et prénom, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 19/38: version 9.2, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 33/38: CARD : add button to epxort to PDF, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 26/38: Task #2321: erreur de numérotation, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 29/38: cosmetic, dwm, 2024/02/18