mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
D'Oh./bin/gonic -music-path /media/datos/Música/ Fix attachments..
This commit is contained in:
@@ -245,7 +245,7 @@ class NoteService {
|
||||
$dbAttachts = $this->attachMapper->findFromNote($userId, $id);
|
||||
foreach ($dbAttachts as $dbAttach) {
|
||||
$delete = true;
|
||||
foreach ($attachts as $attach) {
|
||||
foreach ($attachments as $attach) {
|
||||
if ($dbAttach->getFileId() === $attach['file_id']) {
|
||||
$delete = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user