mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove the empty entry in the domain select list.
This commit is contained in:
@@ -429,7 +429,6 @@ function confirmdelete(url) {
|
||||
$tmp_style .= "onmouseover=\"this.style.opacity=1;\" ";
|
||||
$tmp_style .= "onmouseout=\"this.style.opacity=0.7;\" ";
|
||||
echo " <select id='domain_uuid' name='domain_uuid' class='formfld' onchange=\"window.location='".PROJECT_PATH."/core/domains/domains.php?domain_uuid='+this.value+'&domain_change=true';\" $tmp_style>\n";
|
||||
echo " <option value=''></option>\n";
|
||||
foreach($_SESSION['domains'] as $row) {
|
||||
if ($row['domain_uuid'] == $_SESSION['domain_uuid']) {
|
||||
echo " <option value='".$row['domain_uuid']."' selected='selected'>".$row['domain_name']."</option>\n";
|
||||
|
||||
Reference in New Issue
Block a user