]> git.mxchange.org Git - friendica.git/commitdiff
Hide non-functional mass deletion feature in search view
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 19 Nov 2022 22:16:01 +0000 (17:16 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 19 Nov 2022 22:16:01 +0000 (17:16 -0500)
src/Content/Conversation.php

index da9aee87b00aee1090954c904e1bda589abcdc4d..be7448a336a12f0646f81b1aa05db659452b7d97 100644 (file)
@@ -526,7 +526,7 @@ class Conversation
                        $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) {
                        $_SESSION['return_path'] = $this->args->getQueryString();