fix: revoke treating crm attribute as set when assigned

This commit is contained in:
Björn Fromme
2024-04-18 11:35:21 +02:00
parent 79aeab357e
commit e5ffb16998
+1 -1
View File
@@ -162,7 +162,7 @@ class ResponseParser
;
$attributes[] = $attribute;
if (1 === preg_match('/^Hausleitung ([A-Z0-9]+)$/', $attributeLabel, $matches)) {
if (1 === preg_match('/^Hausleitung ([A-Z0-9]+)$/', $attributeLabel, $matches) && true === $attribute->isSelected()) {
$isHouseManager = true;
$hotelCode = $matches[1];
}