From 185ee5bf56ec14707015c9817d233f770718f942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20H=C3=BCbel?= Date: Sat, 31 Oct 2020 15:42:39 +0000 Subject: [PATCH] Removed warnings in error.log --- include/functions.php | 4 ++-- version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/functions.php b/include/functions.php index bea630c..79d1924 100644 --- a/include/functions.php +++ b/include/functions.php @@ -593,14 +593,14 @@ function getHeardList($logLines, $onlyLast) { if ( strlen($callsign) < 11 ) { $name = ""; if (defined("ENABLEXTDLOOKUP")) { - if (getEnabled("D-Star", $mmdvmconfigs) == 1) { + if (getEnabled("D-Star", getMMDVMConfig()) == 1) { array_push($heardList, array(convertTimezone($timestamp), $mode, $callsign, $name, $id, $target, $source, $duration, $loss, $ber, $rssi, $alias)); } else { array_push($heardList, array(convertTimezone($timestamp), $mode, $callsign, $name, $target, $source, $duration, $loss, $ber, $rssi, $alias)); } $alias = ""; } else { - if (getEnabled("D-Star", $mmdvmconfigs) == 1) { + if (getEnabled("D-Star", getMMDVMConfig()) == 1) { array_push($heardList, array(convertTimezone($timestamp), $mode, $callsign, $id, $target, $source, $duration, $loss, $ber, $rssi, $alias)); } else { array_push($heardList, array(convertTimezone($timestamp), $mode, $callsign, $target, $source, $duration, $loss, $ber, $rssi, $alias)); diff --git a/version.php b/version.php index 0be8cf7..c796616 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@