Categorize event type 36

This commit is contained in:
Joshua Ramon Enslin 2023-07-19 10:24:23 +02:00
parent 863c3a3c93
commit 7d6cfe1c51
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -37,7 +37,7 @@ enum MDEventCategory implements JsonSerializable {
if (in_array($event_type, MDEventsSet::EVENTS_NO_PRODUCTION, true)) { if (in_array($event_type, MDEventsSet::EVENTS_NO_PRODUCTION, true)) {
return self::no_production; return self::no_production;
} }
if ($event_type === 5) { if ($event_type === 5 || $event_type === 36) { // Was depicted (actor + place)
return self::no_production; return self::no_production;
} }
throw new Exception("Uncategorized event type: " . $event_type); throw new Exception("Uncategorized event type: " . $event_type);