aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-07 16:06:34 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-07 16:06:34 -0700
commitdad4ac6c899805fd6311fc9c47a41b6edb265f12 (patch)
tree9b7052d1d95df815ab87274e20f922460e17aaab
parent862bfbdd2bc60b201918d02351f2591ccf5aea04 (diff)
downloadvolse-hubzilla-dad4ac6c899805fd6311fc9c47a41b6edb265f12.tar.gz
volse-hubzilla-dad4ac6c899805fd6311fc9c47a41b6edb265f12.tar.bz2
volse-hubzilla-dad4ac6c899805fd6311fc9c47a41b6edb265f12.zip
incorrect value for hubloc_deleted in zot_get_hublocs() query
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 31a12b763..4ac346002 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -80,7 +80,7 @@ function zot_get_hublocs($hash) {
/* Only search for active hublocs - e.g. those that haven't been marked deleted */
- $ret = q("select * from hubloc where hubloc_hash = '%s' and hubloc_deleted != 0 order by hubloc_url ",
+ $ret = q("select * from hubloc where hubloc_hash = '%s' and hubloc_deleted = 0 order by hubloc_url ",
dbesc($hash)
);