Voiceplan Import: Added Exception for Freecall Zone without price

This commit is contained in:
Frank Schubert
2023-12-05 18:20:00 +01:00
parent 58aefc90b1
commit e814f35ef4

View File

@@ -113,7 +113,7 @@ class Voiceplan extends mfBaseModel {
$price_ek = $price_special;
}
if(!$name || !$price_ek) {
if((!$name || !$price_ek) && $extref != "800") {
$this->log->warning(__METHOD__.": not importing Voiceplanzone with empty value: name: $name | ek: $price_ek");
continue;
}