Commit 20994861 authored by Lms300's avatar Lms300 Committed by DamienMcKenna
Browse files

Issue #3256110 by Andrei Haurukovich, Lms300, DamienMcKenna, RenatoG: Export...

Issue #3256110 by Andrei Haurukovich, Lms300, DamienMcKenna, RenatoG: Export does not initialize every handler, causing null values to used as parameter of array_keys().
parent b0eedee9
......@@ -2201,7 +2201,10 @@ class view extends views_db_object {
// Ensure this view supports translation, we have a display, and we
// have a localization plugin.
// @todo Export does not init every handler.
if (($this->is_translatable() || $op == 'export') && $this->init_display() && $this->init_localization()) {
if (($this->is_translatable() || $op == 'export')
&& $this->init_display()
&& $this->init_localization()
&& isset($this->localization_plugin->view->display)) {
$this->localization_plugin->process_locale_strings($op);
}
}
......
Markdown is supported
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