PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/layouts/chat/threads/thread.php +2 -2 1.8.6 → 1.8.16 View file →
@@ -28,10 +28,10 @@
28 28
29 29 /** @var VBOChatUser */
30 30 $user = array_shift($recipients) ?: new VBOChatUserNull($thread->getSenderID(), $thread->getSenderName());
31 31
32 -// obtain contents of last message
33 -$message = $thread->getMessage();
32 +// obtain plain contents of last message
33 +$message = strip_tags((string) $thread->getMessage());
34 34
35 35 // stringify attachments
36 36 $attachments = implode(', ', array_map(function($a) {
37 37 return $a->getName();