From bd8bc7a4d6cfc12b70b80cdedb97b3dffdec6a9c Mon Sep 17 00:00:00 2001 From: Bogdanova Olga Date: Fri, 5 Mar 2021 22:24:59 +0300 Subject: [PATCH] Issues-458: fixed target url in Discussion Options Dropdown --- .../applications/vanilla/views/discussion/helper_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanilla/applications/vanilla/views/discussion/helper_functions.php b/vanilla/applications/vanilla/views/discussion/helper_functions.php index 66ed711..e318b6b 100644 --- a/vanilla/applications/vanilla/views/discussion/helper_functions.php +++ b/vanilla/applications/vanilla/views/discussion/helper_functions.php @@ -336,7 +336,7 @@ function getDiscussionOptionsDropdown($discussion = null) { } $discussionID = $discussion->DiscussionID; - $categoryUrl = urlencode(categoryUrl(CategoryModel::categories($categoryID))); + $categoryUrl = urlencode(categoryUrl(CategoryModel::categories($categoryID),'',false)); // Permissions $canEdit = DiscussionModel::canEdit($discussion, $timeLeft);