Commit 109e6c41 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'patch-4' into 'stable-3.1'

Fix #4339



See merge request !487
parents 56e1610b 51285df6
......@@ -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"]);
}
......
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