Mercurial > hg > rc2
diff program/steps/mail/check_recent.inc @ 21:73124dd49283
More cleaning up php8 Warnings/deprecations,
noticed that setting non-my-Dates mailboxes to sort on Date isn't sticky over ctrl-R
| author | Charlie Root |
|---|---|
| date | Thu, 09 Oct 2025 11:31:41 -0400 |
| parents | 4681f974d28b |
| children |
line wrap: on
line diff
--- a/program/steps/mail/check_recent.inc Wed Oct 08 09:42:21 2025 -0400 +++ b/program/steps/mail/check_recent.inc Thu Oct 09 11:31:41 2025 -0400 @@ -131,7 +131,7 @@ $data = $RCMAIL->storage->folder_data($mbox_name); if (empty($_SESSION['list_mod_seq']) || $_SESSION['list_mod_seq'] != $data['HIGHESTMODSEQ']) { - $flags = $RCMAIL->storage->list_flags($mbox_name, explode(',', $uids), $_SESSION['list_mod_seq']); + $flags = $RCMAIL->storage->list_flags($mbox_name, explode(',', $uids), ($_SESSION['list_mod_seq']??null)); foreach ($flags as $idx => $row) { $flags[$idx] = array_change_key_case(array_map('intval', $row)); }
