diff options
author | Jonathan Tschanter <jmtw@tutanota.de> | 2022-01-21 15:13:35 +0100 |
---|---|---|
committer | Jonathan Tschanter <jmtw@tutanota.de> | 2022-01-21 15:13:35 +0100 |
commit | 432bba3dee1d9be25b9626ac45115929a6422961 (patch) | |
tree | 22964fb4b3f55aa1594067af238344f150d4d9ad /src/Model | |
parent | 2bde1b0660585e16116fbd12c86b53e886b6f3be (diff) |
Add layout based on list entries
Diffstat (limited to 'src/Model')
-rw-r--r-- | src/Model/Artwork.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Model/Artwork.php b/src/Model/Artwork.php index 25f6ee5..6380f62 100644 --- a/src/Model/Artwork.php +++ b/src/Model/Artwork.php @@ -88,9 +88,9 @@ class Artwork { $result = DB::$entityManager ->createQuery( - 'SELECT sum(v.value) as total - FROM Elements\Model\VoteArtwork v - WHERE v.artwork = :artwork' + 'SELECT sum(v.value) as total + FROM Elements\Model\VoteArtwork v + WHERE v.artwork = :artwork' ) ->setParameter('artwork', $this) ->getOneOrNullResult(); |