From dad4ac6c899805fd6311fc9c47a41b6edb265f12 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 7 Jul 2015 16:06:34 -0700 Subject: incorrect value for hubloc_deleted in zot_get_hublocs() query --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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) ); -- cgit v1.2.3