From 8bcee8a976362bb2b23af6306cfcd1339380bd60 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 9 Mar 2016 16:14:49 +0100 Subject: * URL construction fixes --- app/php/pages/Signup.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app/php/pages/Signup.php') diff --git a/app/php/pages/Signup.php b/app/php/pages/Signup.php index c999e65..4ee62dd 100644 --- a/app/php/pages/Signup.php +++ b/app/php/pages/Signup.php @@ -15,10 +15,9 @@ class Signup extends TPage { $newUser->Password = password_hash($this->Password->Text, PASSWORD_DEFAULT); $newUser->IsAdmin = $this->Admin->Checked; $newUser->save(); - $this->Response->redirect($this->Request->constructUrl( - $this->Service->ID, - NULL - )); + $this->Response->redirect( + $this->Service->constructUrl(NULL) + ); } } -- cgit v1.2.3