From: Nik Okuntseff Date: Fri, 23 Nov 2018 17:04:48 +0000 (+0000) Subject: Fixed user details output. X-Git-Tag: timetracker_1.19-1~563 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=460983ff96c7f6b57d7d7d567c767730fb1ba36e;p=timetracker.git Fixed user details output. --- diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index f89bba68..25cc83f7 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -657,6 +657,7 @@ class ttUser { // It changes with "on behalf" attributes for both user and group. function getUserPartForHeader() { global $i18n; + if (!$this->id) return null; $user_part = htmlspecialchars($this->name); $user_part .= ' - '.htmlspecialchars($this->role_name); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 0240ecfb..161df020 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.27.4501 | Copyright © Anuko | +  Anuko Time Tracker 1.18.27.4503 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}