Skip to content
Snippets Groups Projects
Commit bcbebd0b authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fixup image stripping code

parent d58686d4
No related branches found
No related tags found
No related merge requests found
......@@ -1189,8 +1189,8 @@ class ThreadBody /* extends SplString */ {
if ($images_before) {
preg_match_all('/src="cid:([\w_-]+)"/', $this->body,
$images_after, PREG_SET_ORDER);
$this->stripped_images = array_diff($images_before,
$images_after);
$this->stripped_images = array_diff($images_before[1],
$images_after[1]);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment