summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_area_view.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_area_view.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_area_view.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_area_view.inc b/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_area_view.inc
index b8fad3f..45ea499 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_area_view.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_area_view.inc
@@ -2,8 +2,9 @@
/**
* @file
- * Contains views_handler_area_view handler.
+ * Definition of views_handler_area_view.
*/
+
/**
* Views area handlers. Insert a view inside of an area.
*
@@ -15,7 +16,7 @@ class views_handler_area_view extends views_handler_area {
$options = parent::option_definition();
$options['view_to_insert'] = array('default' => '');
- $options['inherit_arguments'] = array('default' => FALSE, 'boolean' => TRUE);
+ $options['inherit_arguments'] = array('default' => FALSE, 'bool' => TRUE);
return $options;
}
@@ -29,7 +30,7 @@ class views_handler_area_view extends views_handler_area {
$view_display = $this->view->name . ':' . $this->view->current_display;
$options = array('' => t('-Select-'));
- $options += views_get_views_as_options(FALSE, 'all', $view_display);
+ $options += views_get_views_as_options(FALSE, 'all', $view_display, FALSE, TRUE);
$form['view_to_insert'] = array(
'#type' => 'select',
'#title' => t('View to insert'),