diff options
Diffstat (limited to 'lib/Minz/Log.php')
| -rw-r--r-- | lib/Minz/Log.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Minz/Log.php b/lib/Minz/Log.php index f67d16619..f8d024c1f 100644 --- a/lib/Minz/Log.php +++ b/lib/Minz/Log.php @@ -37,8 +37,10 @@ class Minz_Log { if ($username == '') { $username = '_'; } - if ($file_name === null) { + if ($file_name == null) { $file_name = join_path(USERS_PATH, $username, 'log.txt'); + } else { + $username = '_'; } switch ($level) { |
