From 3385277aaacc0dd6dedcab8c60dc62a81a507c70 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Thu, 20 Feb 2020 18:39:38 +1100 Subject: [PATCH] Fix. System Log category was also System. --- htdocs/cgi-bin/system/modules/Settings.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cgi-bin/system/modules/Settings.pm b/htdocs/cgi-bin/system/modules/Settings.pm index 6f82267..20dbe2f 100644 --- a/htdocs/cgi-bin/system/modules/Settings.pm +++ b/htdocs/cgi-bin/system/modules/Settings.pm @@ -246,7 +246,7 @@ sub toLog { my ($db,$log,$cat) = @_; my $stamp = getCurrentSQLTimeStamp(); if(!$cat){ - my @arr = selectRecords($db,"SELECT ID FROM CAT WHERE NAME LIKE 'System';")->fetchrow_array(); + my @arr = selectRecords($db,"SELECT ID FROM CAT WHERE NAME LIKE 'System Log' or NAME LIKE 'System';")->fetchrow_array(); if(@arr){ $cat = $arr[0]; } -- 2.34.1