commit 2d3bcac36e3147fc603b40949be4305decc442e6
parent 15213cb88bb5e2f552c33af1269ec817b69678a5
Author: Jan Dankert <develop@jandankert.de>
Date: Fri, 24 May 2019 00:45:52 +0200
Fix: User kann beim Login auch noch undefined sein.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/cms-core/Dispatcher.class.php b/modules/cms-core/Dispatcher.class.php
@@ -521,8 +521,8 @@ class Dispatcher
'database' => array(
'id' => db()->id ),
'user' => array(
- 'id' => $user->userid,
- 'name' => $user->name ),
+ 'id' => @$user->userid,
+ 'name' => @$user->name ),
'timestamp' => date('c'),
'action' => $this->request->action,
'method' => $this->request->method,