From 5dcfbaa0a1d63ae0fbd5b0e1371cce7a64e1acce Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Fri, 6 Feb 2026 00:20:00 +0100 Subject: [PATCH] Ignore fully numeric inputs in MDConcObjectTagRelTypes, map them to general tags --- src/MDConcObjectTagRelTypes.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MDConcObjectTagRelTypes.php b/src/MDConcObjectTagRelTypes.php index 2c81847..617fb56 100644 --- a/src/MDConcObjectTagRelTypes.php +++ b/src/MDConcObjectTagRelTypes.php @@ -103,6 +103,8 @@ final class MDConcObjectTagRelTypes implements MDImporterConcordanceListInterfac return self::RELATION_TYPE_NAMES[trim(strtolower($input))]; } + if (is_numeric($input)) return 'tag'; + if (isset(self::RELATION_TYPES_MAPPED_TO_EVENTS[strtolower($input)])) { throw new MDImporterTagRelationTypeIsEventType("Tag-object relationship type is signifies not tags, but an event component."); }