SIP Profile Settings, Removed blank from Enabled select box

This commit is contained in:
Nate Jones 2014-04-27 10:33:39 +00:00
parent d3a4c09888
commit 0cd7afdcbd
1 changed files with 1 additions and 2 deletions

View File

@ -222,8 +222,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='sip_profile_setting_enabled'>\n";
echo " <option value=''></option>\n";
if ($sip_profile_setting_enabled == "true" || strlen($sip_profile_setting_enabled) == 0) {
if ($sip_profile_setting_enabled == "true") {
echo " <option value='true' selected >".$text['option-true']."</option>\n";
}
else {