mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Fix write_sync_changes to cope with non-calendar resources.
This commit is contained in:
1 parent
7640a2196d
commit
b855a3cbc3
1 file changed
+1
-1
@@ -1193,7 +1193,7 @@ BEGIN
|
||||
IF NOT FOUND THEN
|
||||
RETURN FALSE;
|
||||
END IF;
|
||||
SELECT dav_id INTO tmp_int FROM calendar_item WHERE dav_name = in_dav_name;
|
||||
SELECT dav_id INTO tmp_int FROM caldav_data WHERE dav_name = in_dav_name;
|
||||
INSERT INTO sync_changes ( collection_id, sync_status, dav_id, dav_name)
|
||||
VALUES( in_collection_id, in_status, tmp_int, in_dav_name);
|
||||
RETURN TRUE;
|
||||
|
||||
Reference in new issue
Block a user