URL shortening fix for direct messages: if we're going to shorten the text, shorten the rendered text too.
This commit is contained in:
parent
aa96c3c1d9
commit
043f0ad152
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user