Skip to content

Commit b67678c

Browse files
author
Till Brehm
committed
Fixed #4042 Existing domains dont get imported into domain module during activation
1 parent e69472c commit b67678c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/admin/system_config_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function onUpdateSave($sql) {
183183
* (only the first time!)
184184
*/
185185
if (($section == 'domains') &&
186-
($_SESSION['use_domain_module_old_value'] == '') &&
186+
($_SESSION['use_domain_module_old_value'] == '' || $_SESSION['use_domain_module_old_value'] == 'n') &&
187187
($server_config_array['domains']['use_domain_module'] == 'y')){
188188
$sql = "REPLACE INTO domain (sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, domain ) " .
189189
"SELECT sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, domain " .

0 commit comments

Comments
 (0)