comparison 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
comparison
equal deleted inserted replaced
25:bea5a38be938 27:c32b53434b47
675 $this->add_part($sub_part, 'attachment'); 675 $this->add_part($sub_part, 'attachment');
676 } 676 }
677 } 677 }
678 678
679 // parse related part (alternative part could be in here) 679 // parse related part (alternative part could be in here)
680 if ($related_part !== null && !$this->parse_alternative) { 680 if (isset($related_part) && !$this->parse_alternative) {
681 $this->parse_alternative = true; 681 $this->parse_alternative = true;
682 $this->parse_structure($structure->parts[$related_part], true); 682 $this->parse_structure($structure->parts[$related_part], true);
683 $this->parse_alternative = false; 683 $this->parse_alternative = false;
684 684
685 // if plain part was found, we should unset it if html is preferred 685 // if plain part was found, we should unset it if html is preferred