diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-07 16:06:34 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-07 16:06:34 -0700 |
commit | dad4ac6c899805fd6311fc9c47a41b6edb265f12 (patch) | |
tree | 9b7052d1d95df815ab87274e20f922460e17aaab | |
parent | 862bfbdd2bc60b201918d02351f2591ccf5aea04 (diff) | |
download | volse-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.php | 2 |
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) ); |