Domain create fix

This commit is contained in:
Pinga 2023-08-28 12:41:34 +03:00
parent d40fb36e17
commit 019fd891b3

View file

@ -676,7 +676,7 @@ function processDomainCreate($conn, $db, $xml, $clid, $database_type, $trans) {
$hostObj_list = null;
$hostAttr_list = null;
if ($ns && count($ns) > 0) {
if (isset($ns)) {
$hostObj_list = $ns->xpath('//domain:hostObj');
$hostAttr_list = $ns->xpath('//domain:hostAttr');
}