Merge branch 'master' of gitea:museum-digital/MDNodaHelpers
This commit is contained in:
@@ -231,7 +231,7 @@ final class NodaBlacklistedTerms {
|
||||
*/
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user