From 66fe517e0bdb8fdbbc5a1795f233d8c553f78721 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Tue, 5 Sep 2006 02:48:33 +0000 Subject: #40751 by chx. Redirect back to the forum when logging in from there. --- 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 5de31ddfe..9ed0b9d05 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -921,7 +921,7 @@ function theme_forum_display($forums, $topics, $parents, $tid, $sortby, $forum_p $output .= '
  • '. t('You are not allowed to post a new forum topic.') .'
  • '; } else { - $output .= '
  • '. t('Login to post a new forum topic.', array('@login' => url('user/login'))) .'
  • '; + $output .= '
  • '. t('Login to post a new forum topic.', array('@login' => url('user/login', drupal_get_destination()))) .'
  • '; } $output .= ''; -- cgit v1.2.3