summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-09-25 19:51:45 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-09-25 20:25:00 +0200
commit48176588627133d7967310f007248b0701007214 (patch)
tree5cafa69095c59ce0fd1c8caee7789330389a4e7e /includes/pages
parent449e2cdd00632acff63bb75c5282c3aa2642b59f (diff)
parenteeae07e625890cee9a3cb90ee87e07530b7bf192 (diff)
Merge branch 'noc0lour:fix_setup_bugs', closes #335
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/user_shifts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 2bd7688f..24b9251a 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -109,7 +109,7 @@ function load_days()
$days = DB::select('
SELECT DISTINCT DATE(FROM_UNIXTIME(`start`)) AS `id`, DATE(FROM_UNIXTIME(`start`)) AS `name`
FROM `Shifts`
- ORDER BY `start`
+ ORDER BY `id`, `name`
');
$days = array_map('array_shift', $days);