From 1434694365d0292ab298ddf233212d6c22a6f1c6 Mon Sep 17 00:00:00 2001 From: milan Date: Thu, 26 Sep 2024 13:31:50 +0200 Subject: [PATCH] fix folder badge was not updated when rightclick 'mark all as read' was clicked --- mail/inc/class.mail_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index a1025c130f..d2bbd2d180 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -5301,7 +5301,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2); } else if ((isset($_messageList['all']) && $_messageList['all']) || ($query['filter'] && ($flag2check==$query['filter'] || stripos($query['filter'],$flag2check)!==false))) { - self::ajax_setFolderStatus([$_messageList['msg']['0']],true); + self::ajax_setFolderStatus($_messageList['msg'],true); $response->call('egw.refresh',lang('flagged %1 messages as %2 in %3',(isset($_messageList['all']) && $_messageList['all']?lang('all'):count($_messageList['msg'])),lang(($flag[$_flag]?$flag[$_flag]:$_flag)),lang($folder)),'mail'); } else