Skip to content

Commit 60bf941

Browse files
committed
no issue - fix null being written with a value in string pattern anonymizer
1 parent ea798c7 commit 60bf941

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Anonymization/Anonymizer/Core/StringPatternAnonymizer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ public function createAnonymizeExpression(Update $update): Expression
155155
}
156156
}
157157

158-
return $expr->concat(...$expressions);
158+
return $this->getSetIfNotNullExpression(
159+
$expr->concat(...$expressions),
160+
);
159161
}
160162

161163
#[\Override]

0 commit comments

Comments
 (0)