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:
parent
d76f32551d
commit
b245f8a945
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user