diff --git a/inc/caldav-MKCALENDAR.php b/inc/caldav-MKCALENDAR.php index a118c26c..21504a0c 100644 --- a/inc/caldav-MKCALENDAR.php +++ b/inc/caldav-MKCALENDAR.php @@ -125,7 +125,7 @@ if ( isset($request->xml_tags) ) { } $sql = "SELECT * FROM collection WHERE dav_name = ?;"; -$qry = new PgQuery( $sql, $request->user_no, $request->path ); +$qry = new PgQuery( $sql, $request->path ); if ( ! $qry->Exec("MKCALENDAR") ) { $request->DoResponse( 500, translate("Error querying database.") ); }