Commit e2e32e3e authored by Pegane Nestor's avatar Pegane Nestor
Browse files

FIX #6693 condition modified to process internal mail

parent c140ea16
......@@ -61,8 +61,8 @@
,array($_SESSION['doc_id']));
$nb_attachment = $stmt->rowCount();
}
if ($category_id == "incoming" || ($category_id == "outgoing" && $nb_attachment > 0)) {
if ($category_id == "incoming" || ($category_id == "outgoing" && $nb_attachment > 0) || $category_id == "internal") {
if (isset($_SESSION['save_chrono_number']) && $_SESSION['save_chrono_number'] <> "") {
echo "{status: 1, chronoNB: '".$_SESSION['save_chrono_number']."'}";
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment