Hide non-functional mass deletion feature in search view

This commit is contained in:
Hypolite Petovan 2022-11-19 17:16:01 -05:00
parent 5a2a8db21f
commit 24804eb042

View File

@ -526,7 +526,7 @@ class Conversation
$live_update_div = '<div id="live-search"></div>' . "\r\n"; $live_update_div = '<div id="live-search"></div>' . "\r\n";
} }
$page_dropping = $this->session->getLocalUserId() && $this->session->getLocalUserId() == $uid; $page_dropping = $this->session->getLocalUserId() && $this->session->getLocalUserId() == $uid && $mode != 'search';
if (!$update) { if (!$update) {
$_SESSION['return_path'] = $this->args->getQueryString(); $_SESSION['return_path'] = $this->args->getQueryString();