X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttClientHelper.class.php;h=14788ae4c8b96631ecf1ada4d210deafed3c6334;hb=6deafabef6031f12fe9fec94d9262ba460f7875b;hp=c77dae006134beb6cb2075c9ca05bda413bf13ae;hpb=ad707342d0ab5a7f6fc6ceda9ba3deb408f5ac08;p=timetracker.git diff --git a/WEB-INF/lib/ttClientHelper.class.php b/WEB-INF/lib/ttClientHelper.class.php index c77dae00..14788ae4 100644 --- a/WEB-INF/lib/ttClientHelper.class.php +++ b/WEB-INF/lib/ttClientHelper.class.php @@ -286,7 +286,7 @@ class ttClientHelper { $sql = "select distinct c.id, c.name, c.projects from tt_user_project_binds upb inner join tt_client_project_binds cpb on (cpb.project_id = upb.project_id) inner join tt_clients c on (c.id = cpb.client_id and c.status = 1) - where upb.user_id = $user_id and upb.status = 1 order by c.name"; + where upb.user_id = $user_id and upb.status = 1 order by upper(c.name)"; $res = $mdb2->query($sql); if (!is_a($res, 'PEAR_Error')) {