Mercurial > hg > rc2
comparison program/lib/Roundcube/html.php @ 27:c32b53434b47
more compensation for deprecated empty cases
| author | Charlie Root |
|---|---|
| date | Sun, 18 Jan 2026 14:20:29 -0500 |
| parents | 303b85d5b561 |
| children |
comparison
equal
deleted
inserted
replaced
| 25:bea5a38be938 | 27:c32b53434b47 |
|---|---|
| 951 * Getter for the corresponding tag name for table cell elements | 951 * Getter for the corresponding tag name for table cell elements |
| 952 */ | 952 */ |
| 953 private function _col_tagname() | 953 private function _col_tagname() |
| 954 { | 954 { |
| 955 static $col_tagnames = array('table' => 'td', '*' => 'span'); | 955 static $col_tagnames = array('table' => 'td', '*' => 'span'); |
| 956 return $col_tagnames[$this->tagname] ?: $col_tagnames['*']; | 956 return ($col_tagnames[$this->tagname]??false) ?: $col_tagnames['*']; |
| 957 } | 957 } |
| 958 } | 958 } |
