summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/plugins.inc1
-rw-r--r--plugins/views_plugin_localization.inc4
2 files changed, 4 insertions, 1 deletions
diff --git a/includes/plugins.inc b/includes/plugins.inc
index 2e3bdf0..f780474 100644
--- a/includes/plugins.inc
+++ b/includes/plugins.inc
@@ -41,6 +41,7 @@ function views_views_plugins() {
'uses hook menu' => TRUE,
'use ajax' => TRUE,
'use pager' => TRUE,
+ 'use more' => TRUE,
'accept attachments' => TRUE,
'admin' => t('Page'),
'help topic' => 'display-page',
diff --git a/plugins/views_plugin_localization.inc b/plugins/views_plugin_localization.inc
index 30ae965..bfff15f 100644
--- a/plugins/views_plugin_localization.inc
+++ b/plugins/views_plugin_localization.inc
@@ -139,7 +139,9 @@ class views_plugin_localization extends views_plugin {
$translatable[] = array('value' => $display->display_title, 'keys' => array('display_title'));
}
// Unpack handlers.
- $this->view->display[$display_id]->handler->unpack_translatables($translatable);
+ if (is_object($this->view->display[$display_id]->handler)) {
+ $this->view->display[$display_id]->handler->unpack_translatables($translatable);
+ }
foreach ($translatable as $data) {
$data['keys'] = array_merge(array($this->view->name, $display_id), $data['keys']);
switch ($op) {