diff --git a/inc/profile.class.php b/inc/profile.class.php index 7ddbd63..bc8df3a 100644 --- a/inc/profile.class.php +++ b/inc/profile.class.php @@ -50,6 +50,12 @@ static function preClone(Profile $srce, Array $input) { $input['helpdesk_item_type'] = []; } + if (!isset($input['managed_domainrecordtypes']) + || !is_array($input['managed_domainrecordtypes'])) { + + $input["managed_domainrecordtypes"] = []; + } + return $input; }