stricter test for 0

This commit is contained in:
Arthur Schiwon 2014-02-25 09:54:38 +01:00
parent 004dd73c5e
commit 506e065f23
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ var UserList = {
}
}
tr.find('td.storageLocation').text(storageLocation);
if(lastLogin == 0) {
if(lastLogin === 0) {
lastLogin = t('settings', 'never');
} else {
lastLogin = new Date(lastLogin);