diff --git a/admin/inc/class.admin_accesslog.inc.php b/admin/inc/class.admin_accesslog.inc.php
index fc322d8cb0..6268e35e79 100644
--- a/admin/inc/class.admin_accesslog.inc.php
+++ b/admin/inc/class.admin_accesslog.inc.php
@@ -91,7 +91,7 @@ class admin_accesslog
$row['sessionstatus'] = lang('logged out');
}
// eg. for bad login or password
- if (!$row['account_id']) $row['alt_loginid'] = $row['loginid'];
+ if (!$row['account_id']) $row['alt_loginid'] = ($row['loginid']?$row['loginid']:lang('none'));
$readonlys['kill['.$row['sessionid'].']'] = $no_kill;
$readonlys['delete['.$row['sessionid'].']'] = $query['session_list'];
diff --git a/admin/templates/default/accesslog.xet b/admin/templates/default/accesslog.xet
index e0d6abc16f..570ff04f56 100644
--- a/admin/templates/default/accesslog.xet
+++ b/admin/templates/default/accesslog.xet
@@ -27,9 +27,12 @@
-
-
-
+
+
+
+
+
+
@@ -68,4 +71,4 @@
.selectAllArrow { padding-right: 12px; }
-
\ No newline at end of file
+