summaryrefslogtreecommitdiff
path: root/modules/title.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/title.module')
-rw-r--r--modules/title.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/title.module b/modules/title.module
index b1281a752..9044e03df 100644
--- a/modules/title.module
+++ b/modules/title.module
@@ -32,7 +32,7 @@ function title_page() {
$header = array(t("Type"), t("Title"), t("Author"));
while ($node = db_fetch_object($result)) {
$type = ucfirst(module_invoke($node->type, "node", "name"));
- $title = l($node->title, "node/view/$node->nid");
+ $title = l($node->title, node_url($node));
$author = format_name($node);
$rows[] = array(array("data" => $type, "class" => "type"), array("data" => $title, "class" => "content"), array("data" => $author, "class" => "author"));
}