Remove part of the template data that wasn't set
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 13 Jan 2017 21:02:02 +0000 (16:02 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 13 Jan 2017 21:02:02 +0000 (16:02 -0500)
This is to get rid of an error that happens when you don't have a
referrer.

models/front/events/detail.php

index 405285c..e53c546 100644 (file)
@@ -154,7 +154,7 @@ class GlmMembersFront_events_detail extends GlmMembersFront_events_baseAction
             'venueId'     => $venueId,
             'assetsUrl'   => GLM_MEMBERS_EVENTS_PLUGIN_URL . 'assets/',
             'siteBaseUrl' => GLM_MEMBERS_EVENTS_SITE_BASE_URL,
-            'currentUrl'  => $_SERVER['HTTP_REFERER'],
+            //'currentUrl'  => $_SERVER['HTTP_REFERER'],
             'categories'  => $categories,
             'fromDate'    => $fromDate,
             'toDate'      => $toDate,