Merge branch 'master' of gitea:museum-digital/MDNodaHelpers

This commit is contained in:
2026-04-05 18:58:23 +02:00

View File

@@ -231,7 +231,7 @@ final class NodaBlacklistedTerms {
*/ */
public static function checkActorGivenNameIsBlacklisted(string $given_name):bool { public static function checkActorGivenNameIsBlacklisted(string $given_name):bool {
if (in_array(trim($given_name, ' ()[]?'), self::ACTOR_GIVEN_NAMES_BLACKLIST)) return true; if (in_array(trim($given_name, ' ()[]?'), self::ACTOR_GIVEN_NAMES_BLACKLIST, true)) return true;
else return false; else return false;
} }