1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 05:02:02 +02:00

Extra checks added and mail subject line check.

This commit is contained in:
Cameron 2015-08-26 19:09:51 -07:00
parent d76f32551d
commit b245f8a945
2 changed files with 6 additions and 0 deletions

View File

@ -823,6 +823,7 @@ class e107Email extends PHPMailer
// $eml['body'] = ($tp->toEmail($tmpl['header']). str_replace('{BODY}', $eml['body'], $tmpl['body']). $tp->toEmail($tmpl['footer']));
}
$this->Subject = str_replace("'", "'", $this->Subject);
// Perform Override from template.
foreach($this->overrides as $k=>$v)

View File

@ -1380,6 +1380,11 @@ class e_media
$pref = e107::getPref();
$tp = e107::getParser();
if(empty($src))
{
return false;
}
if(is_string($opts))
{
parse_str($opts,$opts);