Merge pull request #3038 from friedPotat0/rspamd147

Fix rspamd v1.47 debug log
master
André Peters 2019-10-13 10:09:00 +02:00 committed by GitHub
commit 421192c532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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