? .git
? .gitignore
? .vimrc
? ChangeLog
? PPP
? UseDisplayTitle.patch
? style_plugin4.patch
? style_plugin5.patch
? style_plugin6.patch
? modules/openlayers_views/.openlayers_views.module.swp
Index: modules/openlayers_views/openlayers_views.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openlayers/modules/openlayers_views/openlayers_views.module,v
retrieving revision 1.4.2.19
diff -u -p -r1.4.2.19 openlayers_views.module
--- modules/openlayers_views/openlayers_views.module	16 Aug 2010 13:25:20 -0000	1.4.2.19
+++ modules/openlayers_views/openlayers_views.module	30 Sep 2010 15:46:02 -0000
@@ -90,10 +90,8 @@ function openlayers_views_openlayers_lay
         $layer = new stdClass();
         $layer->api_version = 1;
         $layer->name = $view->name . '_' . $display;
-        $layer->title = 
-          isset($view->display['default']->handler->options['title']) ?
-            $view->display['default']->handler->options['title'] : 
-            $view->name;
+        $layer->title = $view->get_title();
+        if ( empty($layer->title) ) $layer->title = $view->name;
         $layer->description = $view->description . ' - ' . $data->display_title;
         $layer->data = array(
           'layer_type' => 'openlayers_views_vector',
