Commit a4235cbc authored by tim.plunkett's avatar tim.plunkett

Add a workaround for uninitialized localization_plugin.

parent 5019a190
......@@ -2097,7 +2097,9 @@ function validate() {
* Find and initialize the localizer plugin.
*/
function init_localization() {
if (isset($this->localization_plugin) && is_object($this->localization_plugin)) {
// @todo The check for the view was added to ensure that
// $this->localization_plugin->init() is run.
if (isset($this->localization_plugin) && is_object($this->localization_plugin) && isset($this->view)) {
return TRUE;
}
......
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