- fixed bug in story.php
Unc: never mind about the removed link to $theme->article()3-00
parent
0363ca0a4a
commit
4de98fce8c
|
@ -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");
|
$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)) {
|
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);
|
comment_render($id, $cid);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue