# HG changeset patch # User neko259 # Date 2013-11-19 10:43:17 # Node ID 2d312aa980c089191f2dfba143f61a64e3bdd515 # Parent 007134dbf7eddeeae4618f48788a6406f3b10d10 Fixed links to not existing messages diff --git a/boards/views.py b/boards/views.py --- a/boards/views.py +++ b/boards/views.py @@ -549,7 +549,7 @@ def _remove_invalid_links(text): post_id = reply_number.group(1) post = Post.objects.filter(id=post_id) if not post.exists(): - text = string.replace(text, '>>' + id, id) + text = string.replace(text, '>>' + post_id, post_id) return text