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