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

more compensation for deprecated empty cases
author Charlie Root
date Sun, 18 Jan 2026 14:20:29 -0500
parents 303b85d5b561
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_text2html.php	Sat Oct 18 12:24:31 2025 -0400
+++ b/program/lib/Roundcube/rcube_text2html.php	Sun Jan 18 14:20:29 2026 -0500
@@ -176,7 +176,7 @@
         // wrap quoted lines with <blockquote>
         for ($n = 0, $cnt = count($text); $n < $cnt; $n++) {
             $flowed = false;
-            if ($this->config['flowed'] && ord($text[$n][0]) == $flowed_char) {
+            if ($this->config['flowed'] && ord($text[$n][0]??null) == $flowed_char) {
                 $flowed   = true;
                 $text[$n] = substr($text[$n], 1);
             }