bug follow-up
This commit is contained in:
parent
58673932a9
commit
a73f1508a3
1 changed files with 6 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue