projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57cdcd
)
Remove part of the template data that wasn't set
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 13 Jan 2017 21:02:02 +0000
(16:02 -0500)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/models/front/events/detail.php
b/models/front/events/detail.php
index
405285c
..
e53c546
100644
(file)
--- a/
models/front/events/detail.php
+++ b/
models/front/events/detail.php
@@
-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,