diff program/lib/Roundcube/rcube_washtml.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 4681f974d28b
children 303b85d5b561
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_washtml.php	Wed Oct 08 09:42:21 2025 -0400
+++ b/program/lib/Roundcube/rcube_washtml.php	Thu Oct 09 11:31:41 2025 -0400
@@ -438,7 +438,7 @@
 
         if ($this->max_nesting_level > 0 && $level == $this->max_nesting_level - 1) {
             // log error message once
-            if (!$this->max_nesting_level_error) {
+	  if (empty($this->max_nesting_level_error)) {
                 $this->max_nesting_level_error = true;
                 rcube::raise_error(array('code' => 500, 'type' => 'php',
                     'line' => __LINE__, 'file' => __FILE__,