mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed typo in attachmentrepository
This commit is contained in:
parent
fb535ec6f7
commit
57f0432a87
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ class AttachmentRepository extends DBElementRepository
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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).
|
||||||
*
|
*
|
||||||
* @throws NoResultException
|
* @throws NoResultException
|
||||||
* @throws NonUniqueResultException
|
* @throws NonUniqueResultException
|
||||||
|
@ -75,7 +75,7 @@ class AttachmentRepository extends DBElementRepository
|
||||||
{
|
{
|
||||||
$qb = $this->createQueryBuilder('attachment');
|
$qb = $this->createQueryBuilder('attachment');
|
||||||
$qb->select('COUNT(attachment)')
|
$qb->select('COUNT(attachment)')
|
||||||
->andWhere('attaachment.internal_path IS NULL')
|
->andWhere('attachment.internal_path IS NULL')
|
||||||
->where('attachment.external_path IS NOT NULL');
|
->where('attachment.external_path IS NOT NULL');
|
||||||
$query = $qb->getQuery();
|
$query = $qb->getQuery();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue