From 475d6311dff3f4d5ea3f1fe74d74ba2c598c355c Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 3 Nov 2015 08:38:35 +0545 Subject: [PATCH] diag_logs_filter reduce duplicated icon code Almost all the code in old lines 457 and 462 was the same. Make the logic a bit clearer about exactly what is the difference and hopefully reduce future code maintenance issues. --- src/usr/local/www/diag_logs_filter.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/usr/local/www/diag_logs_filter.php b/src/usr/local/www/diag_logs_filter.php index 9f6bb27afd..9e1cb59180 100644 --- a/src/usr/local/www/diag_logs_filter.php +++ b/src/usr/local/www/diag_logs_filter.php @@ -453,16 +453,12 @@ if (!isset($config['syslog']['rawfilter'])) { - ', outputrule);"> - - ', outputrule);"> - + ', outputrule);">