fix rspamd 1.47 missing time_virtual value

master
friedPotat0 2019-10-12 23:42:23 +02:00
parent 726235e9ee
commit fbb800a783
1 changed files with 4 additions and 1 deletions

View File

@ -496,7 +496,10 @@ jQuery(function($){
return str return str
}).join('<br>\n'); }).join('<br>\n');
item.subject = escapeHtml(item.subject); item.subject = escapeHtml(item.subject);
var scan_time = item.time_real.toFixed(3) + ' / ' + item.time_virtual.toFixed(3); var scan_time = item.time_real.toFixed(3);
if (item.time_virtual) {
scan_time += ' / ' + item.time_virtual.toFixed(3);
}
item.scan_time = { item.scan_time = {
"options": { "options": {
"sortValue": item.time_real "sortValue": item.time_real