From 6da1f1bcb10db31af8f07f1a4b0245dee43bd557 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Wed, 4 Mar 2020 12:52:14 +1100 Subject: [PATCH] Bug 20 fix. --- htdocs/cgi-bin/login_ctr.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cgi-bin/login_ctr.cgi b/htdocs/cgi-bin/login_ctr.cgi index 3cf8703..7f783dd 100755 --- a/htdocs/cgi-bin/login_ctr.cgi +++ b/htdocs/cgi-bin/login_ctr.cgi @@ -182,7 +182,7 @@ sub checkCreateTables { my ($pst, $sql,$rv, $changed) = 0; # We live check database for available tables now only once. # If brand new database, this sill returns fine an empty array. - my $pst = Settings::selectRecords($db,"SELECT name FROM sqlite_master WHERE type='table' or type='view';"); + $pst = Settings::selectRecords($db,"SELECT name FROM sqlite_master WHERE type='table' or type='view';"); my %curr_tables = (); while(my @r = $pst->fetchrow_array()){ $curr_tables{$r[0]} = 1; -- 2.34.1