mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-06-19 06:41:01 +00:00
Don't allow two collections at the same location. It's too confusing.
This commit is contained in:
parent
7df7da3132
commit
b5ff1252e8
@ -124,7 +124,7 @@ if ( isset($request->xml_tags) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$sql = "SELECT * FROM collection WHERE user_no = ? AND dav_name = ?;";
|
||||
$sql = "SELECT * FROM collection WHERE dav_name = ?;";
|
||||
$qry = new PgQuery( $sql, $request->user_no, $request->path );
|
||||
if ( ! $qry->Exec("MKCALENDAR") ) {
|
||||
$request->DoResponse( 500, translate("Error querying database.") );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user