diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-05 02:48:33 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-05 02:48:33 +0000 |
commit | 66fe517e0bdb8fdbbc5a1795f233d8c553f78721 (patch) | |
tree | 7d085a287f5b28482d77d3ac905f0355242dc056 | |
parent | 9f8617b4628fe04ea332ccf392789f76636b8d70 (diff) | |
download | brdo-66fe517e0bdb8fdbbc5a1795f233d8c553f78721.tar.gz brdo-66fe517e0bdb8fdbbc5a1795f233d8c553f78721.tar.bz2 |
#40751 by chx. Redirect back to the forum when logging in from there.
-rw-r--r-- | modules/forum/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= '<li>'. t('You are not allowed to post a new forum topic.') .'</li>'; } else { - $output .= '<li>'. t('<a href="@login">Login</a> to post a new forum topic.', array('@login' => url('user/login'))) .'</li>'; + $output .= '<li>'. t('<a href="@login">Login</a> to post a new forum topic.', array('@login' => url('user/login', drupal_get_destination()))) .'</li>'; } $output .= '</ul>'; |