From f137b26979754e3e94bec73ea947cd87d08594a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 11 Feb 2004 19:21:14 +0000 Subject: - Patch 4902 by Goba: + only adds an optional parameter to url() and l(), so individual links can be set to be absolute + modifies drupal_goto() to accept the parameters of url() without the $absolute parameter, so cleaner invocations can be used + rework of some code in node_feed, making it much better to look at (the current code uses foreach with an immediate brake to get the first key of the associative array, geeeeez) + added xml:base to the rss tag generated by node_feed() + set all user mail URLs to be absolute + fix a small fragmented URL in user.module --- modules/forum/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index a4ea08380..7437346c0 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -402,7 +402,7 @@ function forum_page() { if (arg(2) == 'new') { if ($nid = _forum_new($tid)) { - drupal_goto(url("node/view/$nid")); + drupal_goto("node/view/$nid"); } } -- cgit v1.2.3