summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/pages
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-12 20:35:22 +0200
committerSimon Rettberg2018-04-12 20:35:22 +0200
commit0df8ff53f4c71ffc4b0fdf72a520adfe08fed513 (patch)
tree36ca1d50b0a2f34e93d681ce4c1f5cc2b1427d62 /modules-available/dozmod/pages
parent[locationinfo] Move save btn to the right (design guidelines) (diff)
downloadslx-admin-0df8ff53f4c71ffc4b0fdf72a520adfe08fed513.tar.gz
slx-admin-0df8ff53f4c71ffc4b0fdf72a520adfe08fed513.tar.xz
slx-admin-0df8ff53f4c71ffc4b0fdf72a520adfe08fed513.zip
[dozmod] Properly sort "last login" column in user list
Diffstat (limited to 'modules-available/dozmod/pages')
-rw-r--r--modules-available/dozmod/pages/users.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/dozmod/pages/users.inc.php b/modules-available/dozmod/pages/users.inc.php
index 23457ca6..a81bcb8b 100644
--- a/modules-available/dozmod/pages/users.inc.php
+++ b/modules-available/dozmod/pages/users.inc.php
@@ -46,7 +46,7 @@ class SubPage
$row['canlogin'] = self::checked($row['canlogin']);
$row['issuperuser'] = self::checked($row['issuperuser']);
$row['emailnotifications'] = self::checked($row['emailnotifications']);
- $row['lastlogin'] = date('d.m.Y', $row['lastlogin']);
+ $row['lastlogin_s'] = date('d.m.Y', $row['lastlogin']);
$rows[] = $row;
}
Render::addTemplate('userlist', array(
@@ -122,4 +122,4 @@ class SubPage
die($val);
}
-} \ No newline at end of file
+}