aboutsummaryrefslogtreecommitdiff
path: root/src/Models
diff options
context:
space:
mode:
Diffstat (limited to 'src/Models')
-rw-r--r--src/Models/Attachment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Models/Attachment.php b/src/Models/Attachment.php
index b627d33..bbd8fc4 100644
--- a/src/Models/Attachment.php
+++ b/src/Models/Attachment.php
@@ -70,7 +70,7 @@ class Attachment
LEFT JOIN note_attachments na
ON na.hash = a.hash
WHERE na.id IS NULL
- "))->fetchRows($db) as $hash) {
+ "))->fetchValues($db) as $hash) {
self::deleteFileByHash($attachmentPath, $hash);
}