From bb1f45eb02bac603d67ac08cb674c4050a245c28 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 22:23:45 +0000 Subject: Refs #2598: Converted most $vars['url'] to elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/cropicon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile/actions/cropicon.php') diff --git a/mod/profile/actions/cropicon.php b/mod/profile/actions/cropicon.php index 310d34b3d..21280463e 100644 --- a/mod/profile/actions/cropicon.php +++ b/mod/profile/actions/cropicon.php @@ -63,7 +63,7 @@ if ($small !== FALSE && $medium !== FALSE && $tiny !== FALSE) { } //forward the user back to the upload page to crop -$url = "{$vars['url']}pg/profile/{$profile_owner->username}/edit/icon"; +$url = elgg_get_site_url()."pg/profile/{$profile_owner->username}/edit/icon"; if (isloggedin()) { forward($url); -- cgit v1.2.3