Commit 4de98fce authored by Dries's avatar Dries
Browse files

- fixed bug in story.php

  Unc: never mind about the removed link to $theme->article()
parent 0363ca0a
......@@ -8,7 +8,7 @@ function story_render($id, $cid) {
$result = db_query("SELECT s.*, u.userid FROM stories s LEFT JOIN users u ON s.author = u.id WHERE s.status != 0 AND s.id = $id");
if ($story = db_fetch_object($result)) {
$theme->article($story);
$theme->article($story, "[ <A HREF=\"story.php?id=$id\">reply to this story</A> ]");
comment_render($id, $cid);
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment