diff options
author | msquare <msquare@notrademark.de> | 2016-09-30 18:49:33 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-09-30 18:49:33 +0200 |
commit | 6dfefc3bb9f054c472156801e37300059444ecc7 (patch) | |
tree | 1917fda87003323126b8d7312b3f54b31f27dee0 /includes/sys_log.php | |
parent | b87eb49b9324a56da723804e088415d52df77d77 (diff) |
small code improvements
Diffstat (limited to 'includes/sys_log.php')
-rw-r--r-- | includes/sys_log.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/sys_log.php b/includes/sys_log.php index b37f0d82..66c323c1 100644 --- a/includes/sys_log.php +++ b/includes/sys_log.php @@ -10,10 +10,9 @@ function engelsystem_log($message) { global $user; + $nick = "Guest"; if (isset($user)) { $nick = User_Nick_render($user); - } else { - $nick = "Guest"; } LogEntry_create($nick, $message); } |