diff program/lib/Roundcube/rcube_message.php @ 27:c32b53434b47

more compensation for deprecated empty cases
author Charlie Root
date Sun, 18 Jan 2026 14:20:29 -0500
parents bea5a38be938
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_message.php	Sat Oct 18 12:24:31 2025 -0400
+++ b/program/lib/Roundcube/rcube_message.php	Sun Jan 18 14:20:29 2026 -0500
@@ -677,7 +677,7 @@
             }
 
             // parse related part (alternative part could be in here)
-            if ($related_part !== null && !$this->parse_alternative) {
+            if (isset($related_part) && !$this->parse_alternative) {
                 $this->parse_alternative = true;
                 $this->parse_structure($structure->parts[$related_part], true);
                 $this->parse_alternative = false;