diff program/lib/Roundcube/rcube_imap_generic.php @ 22:303b85d5b561

More cleaning up php8 Warnings/deprecations
author Charlie Root
date Wed, 15 Oct 2025 14:06:27 -0400
parents 73124dd49283
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_imap_generic.php	Thu Oct 09 11:31:41 2025 -0400
+++ b/program/lib/Roundcube/rcube_imap_generic.php	Wed Oct 15 14:06:27 2025 -0400
@@ -3797,7 +3797,7 @@
             // remove spaces from the beginning of the string
             $str = ltrim($str);
 
-            switch ($str[0]) {
+            switch ($str[0]??'') {
 
             // String literal
             case '{':