Commit 51285df6 authored by enavn's avatar enavn
Browse files

Fix #4339

parent 56e1610b
......@@ -339,7 +339,7 @@ class page_action extends tform_actions {
if($app->functions->intval($this->dataRecord["server_id"]) > 0) {
// check if server is in client's servers or add it.
$chk_sid = explode(',', $client['web_servers']);
if(in_array($this->dataRecord["server_id"], $client['web_servers']) == false) {
if(in_array($this->dataRecord["server_id"], $chk_sid) == false) {
if($client['web_servers'] != '') $client['web_servers'] .= ',';
$client['web_servers'] .= $app->functions->intval($this->dataRecord["server_id"]);
}
......
Supports Markdown
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