comparison program/lib/Roundcube/html.php @ 21:73124dd49283

More cleaning up php8 Warnings/deprecations, noticed that setting non-my-Dates mailboxes to sort on Date isn't sticky over ctrl-R
author Charlie Root
date Thu, 09 Oct 2025 11:31:41 -0400
parents b6a96bdd6b29
children 303b85d5b561
comparison
equal deleted inserted replaced
20:4aec5e272733 21:73124dd49283
415 { 415 {
416 if (is_array($attrib)) { 416 if (is_array($attrib)) {
417 $this->attrib = $attrib; 417 $this->attrib = $attrib;
418 } 418 }
419 419
420 if ($attrib['type']) { 420 if ($attrib['type']??null) {
421 $this->type = $attrib['type']; 421 $this->type = $attrib['type'];
422 } 422 }
423 } 423 }
424 424
425 /** 425 /**
897 if ($r < $this->rowindex || count($row->cells)) { 897 if ($r < $this->rowindex || count($row->cells)) {
898 $tbody .= self::tag($this->_row_tagname(), $row->attrib, $rowcontent, parent::$common_attrib); 898 $tbody .= self::tag($this->_row_tagname(), $row->attrib, $rowcontent, parent::$common_attrib);
899 } 899 }
900 } 900 }
901 901
902 if ($this->attrib['rowsonly']) { 902 if ($this->attrib['rowsonly']??null) {
903 return $tbody; 903 return $tbody;
904 } 904 }
905 905
906 // add <tbody> 906 // add <tbody>
907 $this->content = $thead . ($this->tagname == 'table' ? self::tag('tbody', null, $tbody) : $tbody); 907 $this->content = $thead . ($this->tagname == 'table' ? self::tag('tbody', null, $tbody) : $tbody);