Commit 72600be1 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#884 - Reseller and Client can't choose Server IP!

parent b488b5d1
...@@ -115,8 +115,8 @@ class page_action extends tform_actions { ...@@ -115,8 +115,8 @@ class page_action extends tform_actions {
$clients = $app->db->queryAllRecords($sql); $clients = $app->db->queryAllRecords($sql);
$client_select = '<option value="'.$client['client_id'].'">'.$client['contact_name'].'</option>'; $client_select = '<option value="'.$client['client_id'].'">'.$client['contact_name'].'</option>';
if(is_array($clients)) { if(is_array($clients)) {
foreach( $clients as $client) { foreach( $clients as $c) {
$selected = @($client["groupid"] == $this->dataRecord["sys_groupid"])?'SELECTED':''; $selected = @($c["groupid"] == $this->dataRecord["sys_groupid"])?'SELECTED':'';
$client_select .= "<option value='$client[groupid]' $selected>$client[name]</option>\r\n"; $client_select .= "<option value='$client[groupid]' $selected>$client[name]</option>\r\n";
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment