Skip to content
Snippets Groups Projects
Commit 44e6fa4d authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #10798 TIME 0:10 chrono was empty in outgoing mail

parent da430b9c
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ if ($category_id == "incoming" || $category_id == 'attachment' || ($category_id ...@@ -48,7 +48,7 @@ if ($category_id == "incoming" || $category_id == 'attachment' || ($category_id
echo "{status: 1, chronoNB: '".functions::xssafe($myChrono)."'}"; echo "{status: 1, chronoNB: '".functions::xssafe($myChrono)."'}";
} }
} elseif ($category_id == "outgoing" && $nb_attachment == 0) { } elseif ($category_id == "outgoing" && $nb_attachment == 0) {
$stmt = $db->query("SELECT alt_identifier FROM ".$view." WHERE res_id = ?", array($_SESSION['doc_id'])); $stmt = $db->query("SELECT alt_identifier FROM mlb_coll_ext WHERE res_id = ?", array($_SESSION['doc_id']));
$chronoMaster = $stmt->fetchObject(); $chronoMaster = $stmt->fetchObject();
echo "{status: 1, chronoNB: '".functions::xssafe($chronoMaster->alt_identifier)."'}"; echo "{status: 1, chronoNB: '".functions::xssafe($chronoMaster->alt_identifier)."'}";
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment