comparison 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
comparison
equal deleted inserted replaced
18:b631c1c7a3ce 19:b6a96bdd6b29
755 if (!$this->rows[$this->rowindex]) { 755 if (!$this->rows[$this->rowindex]) {
756 $this->rows[$this->rowindex] = new stdClass; 756 $this->rows[$this->rowindex] = new stdClass;
757 } 757 }
758 758
759 $this->rows[$this->rowindex]->cells[$this->colindex] = $cell; 759 $this->rows[$this->rowindex]->cells[$this->colindex] = $cell;
760 $this->colindex += max(1, intval($attr['colspan'])); 760 $this->colindex += max(1, intval($attr['colspan']??null));
761 761
762 if ($this->attrib['cols'] && $this->colindex >= $this->attrib['cols']) { 762 if ($this->attrib['cols'] && $this->colindex >= $this->attrib['cols']) {
763 $this->add_row(); 763 $this->add_row();
764 } 764 }
765 } 765 }