aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-26 11:43:21 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-26 11:43:21 +0100
commitb30e799847666fcac7caecf85f0329f28c11e3a7 (patch)
treeab7259139d9a4649912021c59d231be7796196b2 /Zotlabs
parentb4aaa1953c43259e022f80bb68b6c65e10ef92c4 (diff)
downloadvolse-hubzilla-b30e799847666fcac7caecf85f0329f28c11e3a7.tar.gz
volse-hubzilla-b30e799847666fcac7caecf85f0329f28c11e3a7.tar.bz2
volse-hubzilla-b30e799847666fcac7caecf85f0329f28c11e3a7.zip
query for item_hidden is not needed anymore
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/NativeWikiPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php
index 3cc69f120..9fbab791b 100644
--- a/Zotlabs/Lib/NativeWikiPage.php
+++ b/Zotlabs/Lib/NativeWikiPage.php
@@ -20,7 +20,7 @@ class NativeWikiPage {
$sql_extra = item_permissions_sql($channel_id,$observer_hash);
- $r = q("select * from item where resource_type = 'nwikipage' and resource_id = '%s' and uid = %d and item_deleted = 0 and item_hidden = 0
+ $r = q("select * from item where resource_type = 'nwikipage' and resource_id = '%s' and uid = %d and item_deleted = 0
$sql_extra group by mid",
dbesc($resource_id),
intval($channel_id)