diff program/lib/Roundcube/rcube_config.php @ 22:303b85d5b561

More cleaning up php8 Warnings/deprecations
author Charlie Root
date Wed, 15 Oct 2025 14:06:27 -0400
parents b6a96bdd6b29
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_config.php	Thu Oct 09 11:31:41 2025 -0400
+++ b/program/lib/Roundcube/rcube_config.php	Wed Oct 15 14:06:27 2025 -0400
@@ -610,7 +610,7 @@
     private function client_timezone()
     {
         // @TODO: remove this legacy timezone handling in the future
-        $props = $this->fix_legacy_props(array('timezone' => $_SESSION['timezone']));
+        $props = $this->fix_legacy_props(array('timezone' => $_SESSION['timezone']??null));
 
         if (!empty($props['timezone'])) {
             try {