diff --git a/modules/account.module b/modules/account.module index a2b203ea18129f7bacf7f70fc2bd99fb2b34b20d..90ff8f038c81c75c66bfb79111534d3ea4eb7fe7 100644 --- a/modules/account.module +++ b/modules/account.module @@ -144,7 +144,7 @@ function account_stories($id) { function account_comments($id) { $result = db_query("SELECT * FROM comments WHERE link = 'story' AND author = $id ORDER BY timestamp DESC"); while ($comment = db_fetch_object($result)) { - $output .= "<LI><A HREF=\"story.php?id=$comment->sid&cid=$comment->cid&pid=$comment->pid#$comment->cid\">". check_output($comment->subject) ."</A></LI>\n"; + $output .= "<LI><A HREF=\"story.php?id=$comment->lid&cid=$comment->cid&pid=$comment->pid#$comment->cid\">". check_output($comment->subject) ."</A></LI>\n"; } return $output; }