From 79d8246b77654b98d0f60359ccc05f976879d5aa Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 10 Nov 2010 08:33:39 +0000 Subject: No sense in calling elgg_get_site_url() twice here... git-svn-id: http://code.elgg.org/elgg/trunk@7280 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/account/login_box.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/account') diff --git a/views/default/account/login_box.php b/views/default/account/login_box.php index 4942afb09..eb37d7554 100644 --- a/views/default/account/login_box.php +++ b/views/default/account/login_box.php @@ -10,7 +10,7 @@ $form_body = elgg_view('account/forms/login'); $login_url = elgg_get_site_url(); if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { - $login_url = str_replace("http:", "https:", elgg_get_site_url()); + $login_url = str_replace("http:", "https:", $login_url); } ?> -- cgit v1.2.3