diff program/lib/Roundcube/rcube.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 85a746e95663
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube.php	Wed Oct 08 09:42:21 2025 -0400
+++ b/program/lib/Roundcube/rcube.php	Thu Oct 09 11:31:41 2025 -0400
@@ -625,7 +625,7 @@
         if ($domain && ($text = $this->texts[$domain.'.'.$name])) {
         }
         // text does not exist
-        else if (!($text = $this->texts[$name])) {
+        else if (!($text = ($this->texts[$name]??null))) {
             return "[$name]";
         }
         // replace vars in text