Skip to content
Snippets Groups Projects
Commit b1b08346 authored by Nathan Haug's avatar Nathan Haug
Browse files

Issue #2219973: Sub-charts cannot be attached to displays that inherit from defaults.

parent ed63e974
No related branches found
No related tags found
No related merge requests found
......@@ -81,8 +81,8 @@ class charts_plugin_display_chart extends views_plugin_display {
// the chart display style.
$display_options = array();
foreach ($this->view->display as $display_name => $display) {
if ($this->view->display[$display_name]->display_options['style_plugin'] === 'chart' && $display_name !== $this->view->current_display) {
$display_options[$display_name] = $this->view->display[$display_name]->display_title;
if ($display->handler->get_option('style_plugin') === 'chart' && $display_name !== $this->view->current_display) {
$display_options[$display_name] = $display->display_title;
}
}
$form['parent_display'] = array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment