Fix for bug #878926, due to incorrect ordering of table names for the JOIN

This commit is contained in:
shrykedude 2004-01-17 21:03:13 +00:00
parent cc1e80c5c1
commit 7fa04fe669

View File

@ -529,7 +529,7 @@
$sql = 'SELECT DISTINCT phpgw_cal.cal_id,'
. 'phpgw_cal.datetime,phpgw_cal.edatetime,'
. 'phpgw_cal.priority '
. 'FROM phpgw_cal, phpgw_cal_user'
. 'FROM phpgw_cal_user, phpgw_cal'
. $from
. 'WHERE (phpgw_cal_user.cal_id = phpgw_cal.cal_id) '
. $where . $extra;