summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/user_profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/user_profile.php')
-rw-r--r--modules/gallery/helpers/user_profile.php3
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) {