Skip to content

Commit a8ac856

Browse files
author
Florian Schaal
committed
readd missing code
1 parent dadfb45 commit a8ac856

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

interface/web/tools/resync.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ private function server_has_data($type, $server) {
145145
'web_domain' => array (
146146
'index_field' => 'domain_id',
147147
'server_type' => 'web',
148+
'server_id' => $server_id,
148149
),
149150
'shell_user' => array (
150151
'index_field' => 'shell_user_id',
@@ -263,6 +264,17 @@ function onShowEnd() {
263264
unset($options_servers);
264265
}
265266

267+
//* mailinglist
268+
$server_list = $this->create_list($mail_server_rec, 'mail', 'mail_mailinglist');
269+
$options_servers = $server_list[0];$server_count = $server_list[1];
270+
unset($server_list);
271+
if (isset($options_servers)) { //* server with data found
272+
if ($server_count > 1) $options_servers = "<option value='0'>".$app->tform->wordbook['all_active_mail_txt']."</option>" . $options_servers;
273+
$app->tpl->setVar('mailinglist_server_id', $options_servers);
274+
$app->tpl->setVar('mailinglist_found', 1);
275+
unset($options_servers);
276+
}
277+
266278
}
267279

268280
//* fetch web-server

0 commit comments

Comments
 (0)