Skip to content

Commit c2fe9b0

Browse files
committed
Filter attribute
1 parent e4f6693 commit c2fe9b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Database/Adapter/SQL.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2598,6 +2598,7 @@ public function sum(Document $collection, string $attribute, array $queries = []
25982598
$collectionAttributes = $collection->getAttribute("attributes", []);
25992599
$collection = $collection->getId();
26002600
$name = $this->filter($collection);
2601+
$attribute = $this->filter($attribute);
26012602
$roles = Authorization::getRoles();
26022603
$where = [];
26032604
$alias = Query::DEFAULT_ALIAS;

0 commit comments

Comments
 (0)