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

Fix oops scrubbing stripped attachments

parent 51c5ef9e
Branches
Tags
No related merge requests found
......@@ -973,7 +973,7 @@ Class ThreadEntry {
foreach ($vars['attachments'] as $i=>$a) {
if (@$a['cid'] && $a['cid'] == $cid) {
// Inline referenced attachment was stripped
unset($vars['attachments']);
unset($vars['attachments'][$i]);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment