Fixed not being able to order mgmt service from Citycom

This commit is contained in:
Frank Schubert
2025-11-20 14:46:23 +01:00
parent 316d0bb23d
commit dbf803ad2a

View File

@@ -162,7 +162,7 @@ class Citycom_OanApiHelper {
if(!in_array($stype->name, $want_services)) continue;
$ctag = $ctags[$service_count];
$ctag_service_type = array_flip(CITYCOM_OAN_API_SERVICES_FOR_ORDER)[$stype->name];
$ctag_service_type = array_flip($allowed_service_types)[$stype->name];
if(!$ctag_service_type) {
$this->log->error(__METHOD__.": Cannot create Service ".$stype->name." for preorder ".$preorder->id." because no ctag service type defined");
return false;