summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-08-02 15:54:09 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-08-02 15:54:09 +0000
commit2e8763bac0208a85e7d0f93ff4561684b1813b3c (patch)
tree2ed7df937a4848842f549f672c9b610defd2f775 /modules/node
parent55f9dc457b4a8af2d41c57c1a8f1451be04ee956 (diff)
downloadbrdo-2e8763bac0208a85e7d0f93ff4561684b1813b3c.tar.gz
brdo-2e8763bac0208a85e7d0f93ff4561684b1813b3c.tar.bz2
node.module
- some minor modifications to node_link()
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index c1e2283d5..f9b570bf8 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -76,6 +76,9 @@ function node_link($type, $node = 0) {
}
if ($type == "node") {
+ if ($node->links) {
+ $links = $node->links;
+ }
if ($node->body) {
$links[] = "<a href=\"node.php?id=". $node->nid ."\">". t("read more") ."</a>";
}