From de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Mon, 22 Apr 2002 09:05:36 +0000 Subject: - 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. --- node.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node.php') diff --git a/node.php b/node.php index d77fac130..1ff7846b1 100644 --- a/node.php +++ b/node.php @@ -42,7 +42,7 @@ if ($number > 1) { while ($node = db_fetch_object($result)) { if (node_access("view", $node)) { - $output .= "

".l(check_output($node->title), array("id" => $node->nid))."
$node->type - ". format_name($node) ." - ". format_date($node->ccreated, "small") ."

"; + $output .= "

". l(check_output($node->title), array("id" => $node->nid)) ."
$node->type - ". format_name($node) ." - ". format_date($node->ccreated, "small") ."

"; } } @@ -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)) { -- cgit v1.2.3