diff program/lib/Roundcube/rcube_mime.php @ 27:c32b53434b47

more compensation for deprecated empty cases
author Charlie Root
date Sun, 18 Jan 2026 14:20:29 -0500
parents bea5a38be938
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_mime.php	Sat Oct 18 12:24:31 2025 -0400
+++ b/program/lib/Roundcube/rcube_mime.php	Sun Jan 18 14:20:29 2026 -0500
@@ -485,7 +485,7 @@
                 }
                 else {
                     // remove space-stuffing
-                    if ($line[0] === ' ') $line = substr($line, 1);
+		  if ($line[0]?:'' === ' ') $line = substr($line, 1);
 
                     if (isset($text[$last]) && $line && !$q_level
                         && $text[$last] != '-- '