projects
/
WP-Plugins
/
glm-member-db-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f42f087
)
Update plugin list
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 29 Oct 2019 20:36:19 +0000
(16:36 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 29 Oct 2019 20:36:19 +0000
(16:36 -0400)
Remove if version is empty or -
models/admin/ajax/pluginListSites.php
patch
|
blob
|
history
diff --git
a/models/admin/ajax/pluginListSites.php
b/models/admin/ajax/pluginListSites.php
index
3654386
..
94d22cd
100644
(file)
--- a/
models/admin/ajax/pluginListSites.php
+++ b/
models/admin/ajax/pluginListSites.php
@@
-92,8
+92,10
@@
class GlmMembersAdmin_ajax_pluginListSites extends GlmDataSites
if ( $server['production'] ) {
$whereParts[] = "T.prod_server = " . $server['id'];
$whereParts[] = "T.active";
+ $whereParts[] = "( T.prod_version != '' AND T.prod_version IS NOT NULL AND T.prod_version != '-' )";
} else {
$whereParts[] = "T.dev_server = " . $server['id'];
+ $whereParts[] = "( T.dev_version != '' AND T.dev_version IS NOT NULL AND T.dev_version != '-' )";
}
} else {
die( 'no server given' );