mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed double entries with inline images
SVN revision: 1575
This commit is contained in:
parent
fa8b4d9ac7
commit
be4ed109f9
@ -18572,14 +18572,14 @@ void submit_elog(LOGBOOK * lbs)
|
|||||||
p = getparam("text");
|
p = getparam("text");
|
||||||
sprintf(str, "elog:%d/", message_id);
|
sprintf(str, "elog:%d/", message_id);
|
||||||
strsubst(p, TEXT_SIZE, "elog:/", str);
|
strsubst(p, TEXT_SIZE, "elog:/", str);
|
||||||
el_submit(lbs, message_id, bedit, date, attr_list, attrib, n_attr,
|
el_submit(lbs, message_id, TRUE, date, attr_list, attrib, n_attr,
|
||||||
p, in_reply_to, reply_to,
|
p, in_reply_to, reply_to,
|
||||||
isparam("encoding") ? getparam("encoding") : "plain", att_file, TRUE, NULL);
|
isparam("encoding") ? getparam("encoding") : "plain", att_file, TRUE, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*---- email notifications ----*/
|
/*---- email notifications ----*/
|
||||||
|
|
||||||
suppress = isparam("suprress") ? atoi(getparam("suppress")) : 0;
|
suppress = isparam("suppress") ? atoi(getparam("suppress")) : 0;
|
||||||
if (getcfg(lbs->name, "Suppress default", str, sizeof(str)) && atoi(str) == 3)
|
if (getcfg(lbs->name, "Suppress default", str, sizeof(str)) && atoi(str) == 3)
|
||||||
suppress = 3;
|
suppress = 3;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user