Commit 53efe43a authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.1' into 'stable-3.1'

update create_list in resync



See merge request !522
parents b66abdb8 1b667370
...@@ -74,7 +74,8 @@ class page_action extends tform_actions { ...@@ -74,7 +74,8 @@ class page_action extends tform_actions {
//* check the database for existing records //* check the database for existing records
$server_data = $this->server_has_data($server_type, $server['server_id']); $server_data = $this->server_has_data($server_type, $server['server_id']);
foreach ($search as $needle) foreach ($search as $needle)
if (in_array($needle, $server_data) && strpos($options_servers, $server['server_name']) === false) { // if (in_array($needle, $server_data) && strpos($options_servers, $server['server_name']) === false) {
if (in_array($needle, $server_data)) {
$options_servers .= "<option value='$server[server_id]'>$server[server_name]</option>"; $options_servers .= "<option value='$server[server_id]'>$server[server_name]</option>";
$server_count++; $server_count++;
} }
......
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