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))));