Skip to content

Commit 72600be

Browse files
committed
Fixed: FS#884 - Reseller and Client can't choose Server IP!
1 parent b488b5d commit 72600be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/sites/web_domain_edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ function onShowEnd() {
115115
$clients = $app->db->queryAllRecords($sql);
116116
$client_select = '<option value="'.$client['client_id'].'">'.$client['contact_name'].'</option>';
117117
if(is_array($clients)) {
118-
foreach( $clients as $client) {
119-
$selected = @($client["groupid"] == $this->dataRecord["sys_groupid"])?'SELECTED':'';
118+
foreach( $clients as $c) {
119+
$selected = @($c["groupid"] == $this->dataRecord["sys_groupid"])?'SELECTED':'';
120120
$client_select .= "<option value='$client[groupid]' $selected>$client[name]</option>\r\n";
121121
}
122122
}

0 commit comments

Comments
 (0)