From 19761d350ddc117f257c1dfcd3cc86d030ae4945 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 6 Dec 2006 23:47:36 +1300 Subject: [PATCH] Whoops - fix regression. --- inc/caldav-DELETE.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-DELETE.php b/inc/caldav-DELETE.php index 8dc899b7..0e95f5a0 100644 --- a/inc/caldav-DELETE.php +++ b/inc/caldav-DELETE.php @@ -48,7 +48,7 @@ if ( $request->IsCollection() ) { $sql .= "DELETE FROM caldav_data WHERE user_no = $user_no AND dav_name LIKE ?;"; $sql .= "DELETE FROM locks WHERE dav_name LIKE ?;"; $sql .= "COMMIT;"; - $qry = new PgQuery( $sql, $request->path.'%' ); + $qry = new PgQuery( $sql, $request->path.'%', $request->path.'%' ); if ( $qry->Exec("DELETE") ) { @dbg_error_log( "DELETE", "DELETE (collection): User: %d, ETag: %s, Path: %s", $session->user_no, $request->etag_if_match, $request->path);