diff program/lib/Roundcube/rcube_imap_generic.php @ 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 b631c1c7a3ce
children 303b85d5b561
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_imap_generic.php	Wed Oct 08 09:42:21 2025 -0400
+++ b/program/lib/Roundcube/rcube_imap_generic.php	Thu Oct 09 11:31:41 2025 -0400
@@ -2783,7 +2783,7 @@
         $binary = true;
 
         do {
-            if (!$initiated) {
+	  if (empty($initiated)) {
                 switch ($encoding) {
                 case 'base64':
                     $mode = 1;