From 282788bd3efc51830a268dffc30628009ba37afb Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 8 Mar 2017 15:00:26 +0000 Subject: [PATCH] authentication : update code esthetics git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3391 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- authentication.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authentication.php b/authentication.php index 59ef1d3..e141f73 100644 --- a/authentication.php +++ b/authentication.php @@ -191,8 +191,8 @@ class authentication if (! array_key_exists ("firstname", $res)) $res["firstname"] = null; $session = new \authsession (); - $session-> savedata ($authparams->email, $authparams->password, - $res["lastname"], $res["firstname"]); + $session->savedata ($authparams->email, $authparams->password, + $res["lastname"], $res["firstname"]); if ($url === "") $this->route->redirect ("/", ""); else