diff 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
line wrap: on
line diff
--- a/program/lib/Roundcube/html.php	Wed Oct 08 09:42:21 2025 -0400
+++ b/program/lib/Roundcube/html.php	Thu Oct 09 11:31:41 2025 -0400
@@ -417,7 +417,7 @@
             $this->attrib = $attrib;
         }
 
-        if ($attrib['type']) {
+        if ($attrib['type']??null) {
             $this->type = $attrib['type'];
         }
     }
@@ -899,7 +899,7 @@
             }
         }
 
-        if ($this->attrib['rowsonly']) {
+        if ($this->attrib['rowsonly']??null) {
             return $tbody;
         }