1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-11-16 01:21:33 +01:00
Files
Nextcloud-News/lib/Service/ShareService.php
Marco Nassabain b5186b01f1 🚑 Item: set id to null in clone function
This is done to set the id to null BEFORE resetting the updated fields.
The purpose of this is to avoid explicitly adding a NULL id into the DB,
which provokes an error in some DBMS (like postgres).

Fixes #1375

Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-06-16 11:31:11 +02:00

4.3 KiB