From: Brion Vibber Date: Thu, 2 Dec 2010 21:59:51 +0000 (-0800) Subject: URL shortening fix for direct messages: if we're going to shorten the text, shorten... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=043f0ad15265ccc5772be80cf83e4e9da27d8101;p=quix0rs-gnu-social.git URL shortening fix for direct messages: if we're going to shorten the text, shorten the rendered text too. --- diff --git a/classes/Message.php b/classes/Message.php index c4508187bb..484d1f724c 100644 --- a/classes/Message.php +++ b/classes/Message.php @@ -57,7 +57,7 @@ class Message extends Memcached_DataObject } else { $msg->content = common_shorten_links($content); } - $msg->rendered = common_render_text($content); + $msg->rendered = common_render_text($msg->content); $msg->created = common_sql_now(); $msg->source = $source;