From c7d60c97f088374f303c64208ece92b20cd4fb30 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Sat, 28 Mar 2020 14:05:25 -0700 Subject: [PATCH] fixed trouble with Send URCall --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 2b2473e..74e8df5 100644 --- a/index.php +++ b/index.php @@ -226,18 +226,18 @@ foreach($showlist as $section) { echo '', $mod, '
', "\n"; } } else - $fmodule = $configured[0]; + $fmodule = $mods[0]; echo 'URCall: ', "\n"; echo '
', "\n"; echo '', "\n"; if (isset($_POST['sendurcall'])) { $furcall = $_POST['furcall']; if (empty($_POST['fmodule'])) { - if (1==count($configured)) { - $fmodule = $configured[0]; + if (1==count($mods)) { + $fmodule = $mods[0]; } } else { - $fmodule = $_POST['fmodule']; + $fmodule = $_POST['fmodule']; } } $furcall = str_replace(' ', '_', trim(preg_replace('/[^0-9a-z_ ]/', '', strtolower($furcall))));