From 54459cc01a126a921f2ee7bec1939764c75501a4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 2 May 2003 20:44:14 +0000 Subject: - Fixed the function prototypes of the newly introduced theme_user_list(), theme_node_list(), and theme_menu_list(). This will fix the excessive gap between lists and avoids generating empty constructs. --- modules/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index f45f17002..5c0c884ca 100644 --- a/modules/node.module +++ b/modules/node.module @@ -37,8 +37,8 @@ function node_title_list($result, $title = NULL) { return theme("theme_node_list", $items, $title); } -function theme_node_list($items, $title) { - return theme("theme_item_list",$items,$title); +function theme_node_list($items, $title = NULL) { + return theme("theme_item_list", $items, $title); } // Update the 'last viewed' timestamp of the specified node for current user. -- cgit v1.2.3