From 4d5581a9d11c8f422d2c62431914a50038ba0337 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Wed, 10 Jan 2018 22:39:42 +0100 Subject: [PATCH] use self::getApp()->contact --- src/Module/Login.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Module/Login.php b/src/Module/Login.php index 9c49acf44..57f95408b 100644 --- a/src/Module/Login.php +++ b/src/Module/Login.php @@ -181,8 +181,7 @@ class Login extends BaseModule intval($_SESSION['visitor_id']) ); if (DBM::is_result($r)) { - $a = self::getApp(); - $a->contact = $r[0]; + self::getApp()->contact; } }