aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-26 11:53:25 +0000
committerMario <mario@mariovavti.com>2021-04-26 11:53:25 +0000
commit888c211f4463d0ec41fd8849e211ab8110a9caac (patch)
treec6e8355d79d97feaab9bfd2630cfe041697ca21d
parent61cf92ebddcad92d79d831178d3c7c9ed58d62e9 (diff)
downloadvolse-hubzilla-888c211f4463d0ec41fd8849e211ab8110a9caac.tar.gz
volse-hubzilla-888c211f4463d0ec41fd8849e211ab8110a9caac.tar.bz2
volse-hubzilla-888c211f4463d0ec41fd8849e211ab8110a9caac.zip
check perms for comments since in AP they can be different from the top level post
-rw-r--r--Zotlabs/Module/Display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index eb97e77a0..21d3e2e08 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -325,7 +325,7 @@ class Display extends \Zotlabs\Web\Controller {
if($parents_str) {
$items = q("SELECT item.*, item.id AS item_id
FROM item
- WHERE parent in ( %s ) $item_normal ",
+ WHERE parent in ( %s ) $sql_extra $item_normal ",
dbesc($parents_str)
);
xchan_query($items);