Skip to content
Snippets Groups Projects
Commit 039f68e9 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #1260 from greezybacon/issue/1259


This is the correct logic - we'll address issue #1259 separately

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 45806d4d d5ed197e
No related branches found
No related tags found
No related merge requests found
......@@ -1411,9 +1411,9 @@ class TextThreadBody extends ThreadBody {
}
class HtmlThreadBody extends ThreadBody {
function __construct($body, $options=array()) {
if ($options['strip-embedded'])
$body = $this->extractEmbeddedHtmlImages($body);
parent::__construct($body, 'html', $options);
if ($this->options['strip-embedded'])
$this->body = $this->extractEmbeddedHtmlImages($this->body);
}
function extractEmbeddedHtmlImages($body) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment