Commit 7dfc9ea6 authored by Damyon Wiese's avatar Damyon Wiese
Browse files

Merge branch 'wip-MDL-60390-fix' of https://github.com/marinaglancy/moodle

parents b799cde8 69e89f4a
......@@ -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)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment