]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttUser.class.php
Fixed user details output.
[timetracker.git] / WEB-INF / lib / ttUser.class.php
index f89bba684d47c26f40d2a525263801c219d5bbdd..25cc83f7a7426c63aba7d1bfc5b0d1e50ea9b5a0 100644 (file)
@@ -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);