projects
/
WP-Plugins
/
glm-member-db-registrations.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff8cdc
)
Fized problem with $haveMessages view parameter.
author
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 27 Sep 2018 14:11:59 +0000
(10:11 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 27 Sep 2018 14:11:59 +0000
(10:11 -0400)
models/front/registrations/list.php
patch
|
blob
|
history
diff --git
a/models/front/registrations/list.php
b/models/front/registrations/list.php
index
58675c4
..
3730b56
100755
(executable)
--- a/
models/front/registrations/list.php
+++ b/
models/front/registrations/list.php
@@
-172,7
+172,7
@@
// Compile template data
$templateData = array(
'page' => 'register',
- 'haveMessages' =>
count($messages)
,
+ 'haveMessages' =>
is_array($messages) && count($messages) > 0
,
'messages' => $messages,
'regEventsCount' => $regEventsCount,
'haveRegEvents' => $haveRegEvents,