diff options
author | Mario <mario@mariovavti.com> | 2024-12-07 18:40:56 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-12-07 18:40:56 +0000 |
commit | 1941b4f02697da54d003e72ded6ab772c35cc46b (patch) | |
tree | 1dc75bd0eaf886c5b650f261db1ce717a2b8fe9c /Zotlabs/Module | |
parent | 5c82229e345c4daf7f1f86abad63049aefe04fd5 (diff) | |
download | volse-hubzilla-1941b4f02697da54d003e72ded6ab772c35cc46b.tar.gz volse-hubzilla-1941b4f02697da54d003e72ded6ab772c35cc46b.tar.bz2 volse-hubzilla-1941b4f02697da54d003e72ded6ab772c35cc46b.zip |
only allow disable_comments on thread top
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Editpost.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Editpost.php b/Zotlabs/Module/Editpost.php index 6f524cdb8..678ceb207 100644 --- a/Zotlabs/Module/Editpost.php +++ b/Zotlabs/Module/Editpost.php @@ -86,6 +86,7 @@ class Editpost extends \Zotlabs\Web\Controller { 'bbco_autocomplete'=> 'bbcode', 'return_path' => 'hq', 'button' => t('Submit'), + 'disable_comments' => (($itm[0]['item_thread_top']) ? false : true), 'hide_voting' => true, 'hide_future' => true, 'hide_location' => true, |