Merge pull request #4202 from rabuzarus/20180110_-_init_app_in_sessionAuth
Bugfix: getApp() in sessionAuth()
This commit is contained in:
commit
47e0900220
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ class Login extends BaseModule
|
||||||
intval($_SESSION['visitor_id'])
|
intval($_SESSION['visitor_id'])
|
||||||
);
|
);
|
||||||
if (DBM::is_result($r)) {
|
if (DBM::is_result($r)) {
|
||||||
$a->contact = $r[0];
|
self::getApp()->contact = $r[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue