diff --git a/index.php b/index.php index 0d1b46d..9fda535 100644 --- a/index.php +++ b/index.php @@ -151,7 +151,7 @@ foreach($showlist as $section) { echo 'Last Heard:
', "\n"; $rstr = 'MyCall/Sfx Mod Via Time
'; echo str_replace(' ', ' ', $rstr), "\n"; - $dbname = $cfgdir.'/'.GetCFGValue('dash_sql_filename'); + $dbname = $cfgdir.'/qn.db'; $db = new SQLite3($dbname, SQLITE3_OPEN_READONLY); $ss = 'SELECT callsign,sfx,module,reflector,strftime("%s","now")-lasttime FROM LHEARD ORDER BY 5 LIMIT '.GetCFGValue('dash_lastheard_count').' '; if ($stmnt = $db->prepare($ss)) { diff --git a/qnconfig b/qnconfig index de027d4..14b5f81 100755 --- a/qnconfig +++ b/qnconfig @@ -157,7 +157,7 @@ DashboardMenu () { echo " UR is the Send URCall Section" EndMenu - elif [[ "$key" == r* ]]; then dash_refresh="$value" + if [[ "$key" == r* ]]; then dash_refresh="$value" elif [[ "$key" == c* ]]; then dash_lastheard_count="$value" elif [[ "$key" == o* ]]; then dash_show_order="${value^^}" elif [[ "$key" == u* ]]; then