Skip to content
Snippets Groups Projects
Commit 72600be1 authored by tbrehm's avatar tbrehm
Browse files

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

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