diff --git a/modules/opencase_entities/src/Entity/OCCase.php b/modules/opencase_entities/src/Entity/OCCase.php index fdcba41..9cbedf6 100644 --- a/modules/opencase_entities/src/Entity/OCCase.php +++ b/modules/opencase_entities/src/Entity/OCCase.php @@ -79,7 +79,7 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface { * id from the URL. */ public static function defaultVal() { - return \Drupal::request()->query->get('actor_id'); + return array(\Drupal::request()->query->get('actor_id')); } /**