Skip to content

Commit bcbebd0

Browse files
author
Jared Hancock
committed
oops: Fixup image stripping code
1 parent d58686d commit bcbebd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/class.thread.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,8 +1189,8 @@ function stripQuotedReply($tag) {
11891189
if ($images_before) {
11901190
preg_match_all('/src="cid:([\w_-]+)"/', $this->body,
11911191
$images_after, PREG_SET_ORDER);
1192-
$this->stripped_images = array_diff($images_before,
1193-
$images_after);
1192+
$this->stripped_images = array_diff($images_before[1],
1193+
$images_after[1]);
11941194
}
11951195
}
11961196
}

0 commit comments

Comments
 (0)