Skip to content
Snippets Groups Projects
Commit 4de98fce authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- fixed bug in story.php

  Unc: never mind about the removed link to $theme->article()
parent 0363ca0a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -8,7 +8,7 @@ function story_render($id, $cid) { ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment