Merge pull request #4202 from rabuzarus/20180110_-_init_app_in_sessionAuth

Bugfix: getApp() in sessionAuth()
This commit is contained in:
Hypolite Petovan 2018-01-10 19:14:44 -05:00 committed by GitHub
commit 47e0900220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ class Login extends BaseModule
intval($_SESSION['visitor_id'])
);
if (DBM::is_result($r)) {
$a->contact = $r[0];
self::getApp()->contact = $r[0];
}
}