If the domain_uuid is null the data is global.

This error broken dialplan edit when saving a global dialplan.
This commit is contained in:
FusionPBX
2022-09-18 03:08:18 -06:00
committed by GitHub
parent d5bd5957a4
commit 50b66f8bea

View File

@@ -307,7 +307,6 @@ include "root.php";
case 'app_uuid':
case 'domain_uuid':
if (is_uuid($value)) { $this->domain_uuid = $value; }
else { trigger_error('Domain or App UUID not valid', E_USER_ERROR); }
break;
case 'type':
case 'driver':