From c2fb3b98ea07f7b1e7736be8f12673b951e14d94 Mon Sep 17 00:00:00 2001 From: Klocus Date: Tue, 10 Apr 2018 20:23:54 +0200 Subject: [PATCH] Fix user false full name in Admin --- inc/core/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/core/Admin.php b/inc/core/Admin.php index 8081fe2..be657fa 100644 --- a/inc/core/Admin.php +++ b/inc/core/Admin.php @@ -59,7 +59,7 @@ class Admin extends Main { $username = $this->getUserInfo('fullname'); - $this->assign['username'] = !empty($username) ? $username : $this->getUserInfo('username'); + $this->assign['username'] = !empty($username) ? $username : $this->getUserInfo('username', null, true); $this->assign['notify'] = $this->getNotify(); $this->assign['path'] = url(); $this->assign['version'] = $this->settings->get('settings.version');