From 37ffe224194aa8c7b837273588ae077d374a7bad Mon Sep 17 00:00:00 2001 From: SJ Date: Sun, 27 Jan 2013 21:54:33 +0100 Subject: [PATCH] journal strip fix --- webui/model/search/message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/search/message.php b/webui/model/search/message.php index 83209ee9..f9d9efd3 100644 --- a/webui/model/search/message.php +++ b/webui/model/search/message.php @@ -115,7 +115,7 @@ class ModelSearchMessage extends Model { } } - $msg = substr($msg, 0, strlen($msg) - strlen($boundary) - 6); + if($boundary) { $msg = substr($msg, 0, strlen($msg) - strlen($boundary) - 6); } }