From 17943f2b6297550038455d542568c7f84fb21f72 Mon Sep 17 00:00:00 2001
From: m4olivei <m4olivei@410384.no-reply.drupal.org>
Date: Sat, 21 Jun 2014 18:18:40 +0300
Subject: [PATCH] Issue #1912168 by m4olivei | tchase: Warning "Undefined
 variable: bubbletext_field_obj in gmap_plugin_style_gmap->render()".

---
 gmap_plugin_style_gmap.inc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gmap_plugin_style_gmap.inc b/gmap_plugin_style_gmap.inc
index 755c4f4..1244c6a 100755
--- a/gmap_plugin_style_gmap.inc
+++ b/gmap_plugin_style_gmap.inc
@@ -262,9 +262,6 @@ class gmap_plugin_style_gmap extends views_plugin_style {
           if ($this->options['bubbletextenabled'] && !empty($this->options['bubbletextfield']) && !empty($this->rendered_fields[$row_index][$this->options['bubbletextfield']])) {
             $bubbletext = $this->rendered_fields[$row_index][$this->options['bubbletextfield']];
           }
-          elseif ($this->options['bubbletextenabled'] && $bubbletext_field_obj->real_field == 'nothing') {
-            $bubbletext = $this->rendered_fields[$row_index][$this->options['bubbletextfield']];
-          }
 
           $marker = array(
             'latitude' => $lat,
-- 
GitLab