[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 12/14: bug follow-up
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 12/14: bug follow-up |
Date: |
Sun, 4 Feb 2024 05:51:23 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit a73f1508a33e547add5c2df7280cf5a09be3e234
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 (3bf65a542 -> 42e0c5afa), dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 04/14: SUIVI : ajout prénom, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 12/14: bug follow-up,
dwm <=
- [Noalyss-commit] [noalyss] 07/14: Filtre ne fonctionne pas tva_search_id est vide, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 01/14: Tableau de bord : position des détail, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 10/14: FOLLOWUP : Cosmetic nombre pièces, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 13/14: Follow-Up : bug ne peut pas ajouter fichier sur nouvel événement, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 14/14: FOLLOWUP : nom contact pas affiché, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 03/14: Task #2219 Suivi Cosmétique et PHP8.1 Compatibility, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 08/14: Sécurité : bloquer le changement de date des opérations, Renforce mode strict : change de date impossible, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 11/14: integre changement SQL, dwm, 2024/02/04
- [Noalyss-commit] [noalyss] 05/14: 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/04
- [Noalyss-commit] [noalyss] 02/14: SUIVI : détail , montre nom et prénom, dwm, 2024/02/04