Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_imap_generic.php @ 14:abddb304201f
continue slowly cleaning up after move to 8.3
| author | Charlie Root |
|---|---|
| date | Sat, 06 Sep 2025 08:16:01 -0400 |
| parents | 5039cc34571f |
| children | 85a746e95663 |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_imap_generic.php Sat Sep 06 08:12:41 2025 -0400 +++ b/program/lib/Roundcube/rcube_imap_generic.php Sat Sep 06 08:16:01 2025 -0400 @@ -3908,11 +3908,11 @@ # 420__MB__97ce7451bd364b47894f71ba7eb8ceb1 if ($needStrip) { set_error_handler(function($e1, $e2) { - #rcube::write_log('mail', + rcube::write_log('mail', "non-num? id: |$id|, prev: |$prev|"); }, - E_WARNING); - $incr = substr($id,0,strpos($id,'_')) - substr($prev,0,strpos($prev,'_')); + E_ALL); + $incr = intval(substr($id,0,strpos($id,'_'))) - intval(substr($prev,0,strpos($prev,'_'))); restore_error_handler(); } else {
