diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-02 13:59:51 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-02 13:59:51 -0800 |
commit | 043f0ad15265ccc5772be80cf83e4e9da27d8101 (patch) | |
tree | 64776458415e047948b8179d549bf4732eb1bcd7 /classes | |
parent | aa96c3c1d9823382e9e6de0da5084fcc111f2ee5 (diff) |
URL shortening fix for direct messages: if we're going to shorten the text, shorten the rendered text too.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Message.php b/classes/Message.php index c4508187b..484d1f724 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; |