Commit fb654f4a authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch
Browse files

Issue #3258562 by e0ipso: Fatal error when selecting a widget type with the new options

parent 992fc7fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ function widget_instance_options_list_alter(array &$options, array $context) {
  ksort($options);
  // Sort options within groups.
  array_walk($options, static function (array &$option_group): void {
    sort($option_group);
    asort($option_group);
  });
  // Move the 'Other' option group (for widget types with no registry source)
  // to the bottom of the select list.