Commit 42858f6b authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

Convert display extenders to an array to be sure there is no notice.

parent 9481d3b5
......@@ -575,7 +575,7 @@ function plugin_title() {
* Get enabled display extenders.
function views_get_enabled_display_extenders() {
$enabled = array_filter(config('views.settings')->get('views_display_extenders'));
$enabled = array_filter((array) config('views.settings')->get('views_display_extenders'));
$options = views_fetch_plugin_names('display_extender');
foreach ($options as $name => $plugin) {
$enabled[$name] = $name;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment