From 29f96c0c8fb149532d61738b171e4095733fad26 Mon Sep 17 00:00:00 2001 From: Klocus Date: Wed, 11 Apr 2018 11:41:12 +0200 Subject: [PATCH] Fix user's false full name in Admin --- inc/core/Admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/core/Admin.php b/inc/core/Admin.php index be657fa..d64500b 100644 --- a/inc/core/Admin.php +++ b/inc/core/Admin.php @@ -57,9 +57,9 @@ class Admin extends Main */ public function drawTheme($file) { - $username = $this->getUserInfo('fullname'); + $username = $this->getUserInfo('fullname', null, true); - $this->assign['username'] = !empty($username) ? $username : $this->getUserInfo('username', null, true); + $this->assign['username'] = !empty($username) ? $username : $this->getUserInfo('username'); $this->assign['notify'] = $this->getNotify(); $this->assign['path'] = url(); $this->assign['version'] = $this->settings->get('settings.version');