diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-04-22 09:05:36 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-04-22 09:05:36 +0000 |
commit | de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8 (patch) | |
tree | 8b0aa9828f941161183b27e74b6fdc0a167e0021 /node.php | |
parent | 5b5551674d3721cee39c21dd6843700315521f91 (diff) | |
download | brdo-de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8.tar.gz brdo-de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8.tar.bz2 |
- bug fixes:
* fixed mails not being parsed properly.
* tracker now shows user name when you view your own recent
comments.
* link to submission queue now points to the right place.
* fixed jabber module.
* theme is now activated when changed.
- applied Gerhards coding style patch.
Diffstat (limited to 'node.php')
-rw-r--r-- | node.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ if ($number > 1) { while ($node = db_fetch_object($result)) { if (node_access("view", $node)) { - $output .= "<p><b>".l(check_output($node->title), array("id" => $node->nid))."</b><br /><small>$node->type - ". format_name($node) ." - ". format_date($node->ccreated, "small") ."</small></p>"; + $output .= "<p><b>". l(check_output($node->title), array("id" => $node->nid)) ."</b><br /><small>$node->type - ". format_name($node) ." - ". format_date($node->ccreated, "small") ."</small></p>"; } } @@ -51,7 +51,7 @@ if ($number > 1) { $theme->footer(); } elseif ($number) { - $node = ($title ? node_load(array("title" => $title, "status" => 1)) : node_load(array("nid" => ($edit[id] ? $edit[id] : $id)))); + $node = ($title ? node_load(array("title" => $title, "status" => 1)) : node_load(array("nid" => ($edit["id"] ? $edit["id"] : $id)))); if (node_access("view", $node)) { if (isset($revision)) { |