summaryrefslogtreecommitdiff
path: root/modules/googlemap/pgv_module.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/googlemap/pgv_module.php')
-rw-r--r--modules/googlemap/pgv_module.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/googlemap/pgv_module.php b/modules/googlemap/pgv_module.php
index d3bf8aa9c1..460dec236b 100644
--- a/modules/googlemap/pgv_module.php
+++ b/modules/googlemap/pgv_module.php
@@ -58,12 +58,9 @@ class googlemap_WT_Module extends WT_Module implements WT_Module_Config, WT_Modu
// Implement WT_Module_Tab
public function getPreLoadContent() {
- $out = '';
ob_start();
setup_map();
- $out.=ob_get_contents();
- ob_end_clean();
- return $out;
+ return ob_get_clean();
}
// Implement WT_Module_Tab