From 1cd3b4182595b838a535dd6b6990251db05d49e6 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 30 Mar 2016 22:13:24 -0700 Subject: deprecate $a->get_baseurl() --- mod/register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/register.php') diff --git a/mod/register.php b/mod/register.php index b533483f7..712691547 100644 --- a/mod/register.php +++ b/mod/register.php @@ -206,7 +206,7 @@ function register_content(&$a) { $tosurl = get_config('system','tos_url'); if(! $tosurl) - $tosurl = $a->get_baseurl() . '/help/TermsOfService'; + $tosurl = z_root() . '/help/TermsOfService'; $toslink = '' . t('Terms of Service') . ''; -- cgit v1.2.3