fix error not finding $purifier
This commit is contained in:
parent
60c2f6d537
commit
e083b26829
1 changed files with 2 additions and 3 deletions
|
@ -28,9 +28,8 @@ function niceDate($date) {
|
||||||
return $m->calendar();
|
return $m->calendar();
|
||||||
}
|
}
|
||||||
|
|
||||||
function printMessageBody($email) {
|
function printMessageBody($email, $purifier) {
|
||||||
global $config;
|
global $config;
|
||||||
global $purifier;
|
|
||||||
|
|
||||||
// To avoid showing empty mails, first purify the html and plaintext
|
// To avoid showing empty mails, first purify the html and plaintext
|
||||||
// before checking if they are empty.
|
// before checking if they are empty.
|
||||||
|
@ -246,7 +245,7 @@ function printMessageBody($email) {
|
||||||
Delete
|
Delete
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<?php printMessageBody($email); ?>
|
<?php printMessageBody($email, $purifier); ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue