From 60483d897b8daceaeb9c38e423ca1a502e8c1b39 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Fri, 14 Mar 2025 18:24:59 +0100 Subject: [PATCH] Disallow setting anything but actors for mentioned events in MDEventsSet --- src/MDEventsSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MDEventsSet.php b/src/MDEventsSet.php index 770c6d0..c88343b 100644 --- a/src/MDEventsSet.php +++ b/src/MDEventsSet.php @@ -81,9 +81,9 @@ final class MDEventsSet extends MDValueSet { /* * Constants for event types without places, times, actors */ - public const EVENTS_NO_TIME = [5, 22, 23, 36]; + public const EVENTS_NO_TIME = [5, 22, 23, 33, 36]; public const EVENTS_NO_ACTOR = [21, 22, 24, 36, 52]; - public const EVENTS_NO_PLACE = [5, 23, 24]; + public const EVENTS_NO_PLACE = [5, 23, 24, 33]; /** * Gets a list of the entries in a translated version.