Skip to content

Commit eadf7db

Browse files
authored
[FINNA-3903] LIDO: Trim commas from display places (#182)
1 parent 3b36a6e commit eadf7db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/RecordManager/Base/Record/Lido.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,8 @@ protected function getEventDisplayPlaces($event = null)
789789
$this->metadataUtils->stripTrailingPunctuation(
790790
(string)$placeNode->displayPlace,
791791
'.'
792-
)
792+
),
793+
', \n\r\t\v\0'
793794
);
794795
if ($str) {
795796
$results[] = $str;
@@ -922,7 +923,8 @@ protected function getSubjectDisplayPlaces()
922923
$this->metadataUtils->stripTrailingPunctuation(
923924
(string)$place->displayPlace,
924925
'.'
925-
)
926+
),
927+
', \n\r\t\v\0'
926928
);
927929
if ('' !== $str) {
928930
$results[] = $str;

0 commit comments

Comments
 (0)