Skip to content

Commit

Permalink
Merge pull request #984 from Shadow243/refact-everything-menu
Browse files Browse the repository at this point in the history
Change the comparison value to show Everything from 2 to 1
  • Loading branch information
marclaporte authored Apr 29, 2024
2 parents f198621 + 9b720fb commit 57756bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/output_modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ protected function output() {
$email = true;
}
$total_accounts = count($this->get('imap_servers', array())) + count($this->get('feeds', array()));
if ($total_accounts > 2) {
if ($total_accounts > 1) {
$res .= '<li class="menu_combined_inbox"><a class="unread_link" href="'.WEB_ROOT.'?page=message_list&amp;list_path=combined_inbox">';
if (!$this->get('hide_folder_icons')) {
$res .= '<i class="bi bi-box2-fill fs-5 me-2"></i>';
Expand Down

0 comments on commit 57756bc

Please sign in to comment.