Commit f9fe63e7 authored by Kim Kennof's avatar Kim Kennof
Browse files

Issue #3277273: Ada Hernandez, Nuez, Luke Leber, Mark Fullmer: Deprecated...

Issue #3277273: Ada Hernandez, Nuez, Luke Leber, Mark Fullmer: Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated
parent eb24edca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ class MediaLibrary extends FormElement {
      $entity_ids = [$default_value['media_selection_id']];
    }
    else {
      $entity_ids = array_filter(explode(',', $default_value));
      $entity_ids = array_filter(explode(',', $default_value ?? ''));
    }

    if (!empty($entity_ids)) {