From db9083b5875b0e8a8585cfe23c4be2b622e8e58b Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 3 Jun 2011 14:46:33 -0700 Subject: [PATCH] Include tablename qualifier. --- inc/caldav-REPORT-calquery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-REPORT-calquery.php b/inc/caldav-REPORT-calquery.php index a07907c3..f2ac5697 100644 --- a/inc/caldav-REPORT-calquery.php +++ b/inc/caldav-REPORT-calquery.php @@ -225,7 +225,7 @@ function SqlFilterFragment( $filter, $components, $property = null, $parameter = case 'DTEND': case 'DUE': case 'PRIORITY': - $subproperty = strtolower($propertyname); + $subproperty = 'calendar_item.'.strtolower($propertyname); break; case 'COMPLETED': /** @todo this should be moved into the properties supported in SQL. */