bugfix 20240320
This commit is contained in:
parent
f42f397b1a
commit
77fcfea674
@ -217,13 +217,13 @@ if ($_REQUEST['act'] == 'edit') {
|
||||
if(strlen($cf['cf_iden'])>0){
|
||||
$ret = $cf_obj->update_domain($cf['cf_iden'], trim($sub_domain));
|
||||
}else{
|
||||
$ad_ret = $cf_obj->add_domain(trim($sub_domain));
|
||||
$ret = $cf_obj->add_domain(trim($sub_domain));
|
||||
}
|
||||
if (!$ret) {
|
||||
sys_msg('網域自動修改失敗,請重新操作',1, array(), false);
|
||||
// $cf_iden = 0;
|
||||
} else {
|
||||
$cf_iden = $ad_ret;
|
||||
$cf_iden = $ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user