mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-60390 tool_messageinboud: not strict index comparision
This is something that changed in the upgraded Horde library. structure->findBody() returns string but structure->contentTypeMap is indexed with ints
This commit is contained in:
parent
9644c0e87a
commit
69e89f4a82
@ -584,10 +584,10 @@ class manager {
|
||||
'usestream' => true,
|
||||
));
|
||||
|
||||
if ($part === $plainpartid) {
|
||||
if ($part == $plainpartid) {
|
||||
$contentplain = $this->process_message_part_body($messagedata, $partdata, $part);
|
||||
|
||||
} else if ($part === $htmlpartid) {
|
||||
} else if ($part == $htmlpartid) {
|
||||
$contenthtml = $this->process_message_part_body($messagedata, $partdata, $part);
|
||||
|
||||
} else if ($filename = $partdata->getName($part)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user