diff options
author | Mario <mario@mariovavti.com> | 2021-04-26 11:53:25 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-26 11:53:25 +0000 |
commit | 888c211f4463d0ec41fd8849e211ab8110a9caac (patch) | |
tree | c6e8355d79d97feaab9bfd2630cfe041697ca21d | |
parent | 61cf92ebddcad92d79d831178d3c7c9ed58d62e9 (diff) | |
download | volse-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.php | 2 |
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); |