Mercurial > hg > rc2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 20:4aec5e272733 | 21:73124dd49283 |
|---|---|
| 129 // handle flag updates | 129 // handle flag updates |
| 130 else if ($is_current && ($uids = rcube_utils::get_input_value('_uids', rcube_utils::INPUT_GPC)) && empty($search_request)) { | 130 else if ($is_current && ($uids = rcube_utils::get_input_value('_uids', rcube_utils::INPUT_GPC)) && empty($search_request)) { |
| 131 $data = $RCMAIL->storage->folder_data($mbox_name); | 131 $data = $RCMAIL->storage->folder_data($mbox_name); |
| 132 | 132 |
| 133 if (empty($_SESSION['list_mod_seq']) || $_SESSION['list_mod_seq'] != $data['HIGHESTMODSEQ']) { | 133 if (empty($_SESSION['list_mod_seq']) || $_SESSION['list_mod_seq'] != $data['HIGHESTMODSEQ']) { |
| 134 $flags = $RCMAIL->storage->list_flags($mbox_name, explode(',', $uids), $_SESSION['list_mod_seq']); | 134 $flags = $RCMAIL->storage->list_flags($mbox_name, explode(',', $uids), ($_SESSION['list_mod_seq']??null)); |
| 135 foreach ($flags as $idx => $row) { | 135 foreach ($flags as $idx => $row) { |
| 136 $flags[$idx] = array_change_key_case(array_map('intval', $row)); | 136 $flags[$idx] = array_change_key_case(array_map('intval', $row)); |
| 137 } | 137 } |
| 138 | 138 |
| 139 // remember last HIGHESTMODSEQ value (if supported) | 139 // remember last HIGHESTMODSEQ value (if supported) |
