diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-25 08:10:28 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-25 08:10:28 -0800 |
commit | 6023f2bb46598f9da096d63f7ab1dfb914eab6f7 (patch) | |
tree | e90aabbe605f36cc4e020d8c375d75e2feb169e6 /modules/gallery/helpers | |
parent | 445295a1ed8eb7dfc1caacfcb4211c312daaf257 (diff) |
Remove the return url and change the return button on the user profile page to use javascript to return to the previous page.
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/user_profile.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/helpers/user_profile.php b/modules/gallery/helpers/user_profile.php index 018e1bd1..95a994bc 100644 --- a/modules/gallery/helpers/user_profile.php +++ b/modules/gallery/helpers/user_profile.php @@ -24,8 +24,7 @@ class user_profile_Core { * @return url for the profile display */ static function url($user_id) { - $return_url = urlencode(url::abs_current()); - return url::site("user_profile/show/{$user_id}?return=$return_url"); + return url::site("user_profile/show/{$user_id}"); } static function get_contact_form($user) { |