diff program/lib/Roundcube/html.php @ 19:b6a96bdd6b29

More cleaning up php8 Warnings/deprecations
author Charlie Root
date Wed, 08 Oct 2025 08:50:44 -0400
parents 1866b439e6d3
children 73124dd49283
line wrap: on
line diff
--- a/program/lib/Roundcube/html.php	Tue Oct 07 11:20:40 2025 -0400
+++ b/program/lib/Roundcube/html.php	Wed Oct 08 08:50:44 2025 -0400
@@ -757,7 +757,7 @@
         }
 
        $this->rows[$this->rowindex]->cells[$this->colindex] = $cell;
-        $this->colindex += max(1, intval($attr['colspan']));
+        $this->colindex += max(1, intval($attr['colspan']??null));
 
         if ($this->attrib['cols'] && $this->colindex >= $this->attrib['cols']) {
             $this->add_row();