Auto commit for release 'develop' on 2024-06-15

This commit is contained in:
github-actions
2024-06-15 16:16:40 +02:00
parent 6abb74a038
commit a1a8968e98
9 changed files with 15 additions and 15 deletions

View File

@@ -146,7 +146,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
// should be validated already:
if (array_key_exists('attachable_type', $data) && array_key_exists('attachable_id', $data)) {
$attachment->attachable_id = (int)$data['attachable_id'];
$attachment->attachable_type = sprintf('FireflyIII\\Models\\%s', $data['attachable_type']);
$attachment->attachable_type = sprintf('FireflyIII\Models\%s', $data['attachable_type']);
}
$attachment->save();