We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb535ec commit 57f0432Copy full SHA for 57f0432
src/Repository/AttachmentRepository.php
@@ -66,7 +66,7 @@ public function getPrivateAttachmentsCount(): int
66
}
67
68
/**
69
- * Gets the count of all external attachments (attachments containing an external path).
+ * Gets the count of all external attachments (attachments containing only an external path).
70
*
71
* @throws NoResultException
72
* @throws NonUniqueResultException
@@ -75,7 +75,7 @@ public function getExternalAttachments(): int
75
{
76
$qb = $this->createQueryBuilder('attachment');
77
$qb->select('COUNT(attachment)')
78
- ->andWhere('attaachment.internal_path IS NULL')
+ ->andWhere('attachment.internal_path IS NULL')
79
->where('attachment.external_path IS NOT NULL');
80
$query = $qb->getQuery();
81
0 commit comments