fix SQL error caused by no space before order by

This commit is contained in:
Ralf Becker 2019-04-25 16:36:20 +02:00
parent 72f9c66f14
commit b70e8c4005

View File

@ -1721,7 +1721,7 @@ class Contacts extends Contacts\Storage
{
$sql .= " AND egw_cal_user.cal_status != 'R'";
}
$sql .= 'order by cal_recur_date ASC, cal_start ASC Limit 1
$sql .= ' order by cal_recur_date ASC, cal_start ASC Limit 1
) as next_event
FROM egw_addressbook