Skip to content

Commit

Permalink
workaround for issue #79
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-kfed committed Dec 10, 2023
1 parent 0a00149 commit 3267279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thunderbird_labels.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ function check_recent_flags($params)
$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), !empty($_SESSION['list_mod_seq'])? $_SESSION['list_mod_seq'] : null);
foreach ($flags as $idx => $row) {
$flags[$idx] = array_change_key_case(array_map('intval', $row));
}
Expand Down

0 comments on commit 3267279

Please sign in to comment.