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:
36ab988
)
Remove blank from data class.
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 29 Oct 2018 12:23:49 +0000
(08:23 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 29 Oct 2018 12:23:49 +0000
(08:23 -0400)
This is being added to the view with value of 0 which causes two blank
options.
classes/data/dataLocations.php
patch
|
blob
|
history
diff --git
a/classes/data/dataLocations.php
b/classes/data/dataLocations.php
index
0eb5c4e
..
4f3066e
100644
(file)
--- a/
classes/data/dataLocations.php
+++ b/
classes/data/dataLocations.php
@@
-152,7
+152,7
@@
class GlmDataEventsLocations extends GlmDataAbstract
'p_table' => GLM_MEMBERS_PLUGIN_DB_PREFIX . 'cities',
'p_field' => 'name',
'p_orderby' => 'name',
- 'p_blank' =>
tru
e,
+ 'p_blank' =>
fals
e,
'force_list' => true,
'use' => 'a'
),
@@
-207,7
+207,7
@@
class GlmDataEventsLocations extends GlmDataAbstract
'p_table' => GLM_MEMBERS_PLUGIN_DB_PREFIX . 'regions',
'p_field' => 'name',
'p_orderby' => 'name',
- 'p_blank' =>
tru
e,
+ 'p_blank' =>
fals
e,
'force_list' => true,
'use' => 'a'
),