diff options
Diffstat (limited to 'src/Model/Artwork.php')
-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(); |