From 062c0d12dc6507d25b67d633fc8ef348b5058867 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Tue, 29 Jun 2021 15:37:05 +0200 Subject: [PATCH] Extend list of known unwanted actor names --- src/NodaUncertaintyHelper.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NodaUncertaintyHelper.php b/src/NodaUncertaintyHelper.php index 5045ebc..816e009 100644 --- a/src/NodaUncertaintyHelper.php +++ b/src/NodaUncertaintyHelper.php @@ -17,6 +17,8 @@ final class NodaUncertaintyHelper { "n.n.", "N.N.", "Künstler, unbekannt", + "Unbekannte Person", + "Unbekannter Maler", "ismeretlen", "Ismeretlen", "ismeretlen.", @@ -248,7 +250,7 @@ final class NodaUncertaintyHelper { $value = self::trim($value); - if (\in_array($value, self::PERSINST_INDICATORS_DISALLOWED, true)) { + if (\in_array(trim($value, ";. "), self::PERSINST_INDICATORS_DISALLOWED, true)) { return ""; }