Mercurial > hg > rc2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 13:cfac0673464e | 14:abddb304201f |
|---|---|
| 3906 foreach ($messages as $id) { | 3906 foreach ($messages as $id) { |
| 3907 #Advanced search calls with pseudo-message-ids? Non-numeric, anyway, e.g. | 3907 #Advanced search calls with pseudo-message-ids? Non-numeric, anyway, e.g. |
| 3908 # 420__MB__97ce7451bd364b47894f71ba7eb8ceb1 | 3908 # 420__MB__97ce7451bd364b47894f71ba7eb8ceb1 |
| 3909 if ($needStrip) { | 3909 if ($needStrip) { |
| 3910 set_error_handler(function($e1, $e2) { | 3910 set_error_handler(function($e1, $e2) { |
| 3911 #rcube::write_log('mail', | 3911 rcube::write_log('mail', |
| 3912 "non-num? id: |$id|, prev: |$prev|"); | 3912 "non-num? id: |$id|, prev: |$prev|"); |
| 3913 }, | 3913 }, |
| 3914 E_WARNING); | 3914 E_ALL); |
| 3915 $incr = substr($id,0,strpos($id,'_')) - substr($prev,0,strpos($prev,'_')); | 3915 $incr = intval(substr($id,0,strpos($id,'_'))) - intval(substr($prev,0,strpos($prev,'_'))); |
| 3916 restore_error_handler(); | 3916 restore_error_handler(); |
| 3917 } | 3917 } |
| 3918 else { | 3918 else { |
| 3919 $incr = $id - $prev; | 3919 $incr = $id - $prev; |
| 3920 } | 3920 } |
