fixed trouble with Send URCall

pull/14/head
Tom Early 6 years ago
parent b693221969
commit c7d60c97f0

@ -226,15 +226,15 @@ foreach($showlist as $section) {
echo '<input type="radio" name="fmodule"', (isset($fmodule) && $fmodule==$mod) ? '"checked"' : '', ' value="$mod">', $mod, '<br>', "\n";
}
} else
$fmodule = $configured[0];
$fmodule = $mods[0];
echo 'URCall: <input type="text" name="furcall" value="', $furcall, '">', "\n";
echo '<input type="submit" name="sendurcall" value="Send URCall"><br>', "\n";
echo '</form>', "\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'];

Loading…
Cancel
Save

Powered by TurnKey Linux.