Bug 17902: Follow-up fixing SQL statement
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 30 Jan 2017 15:47:23 +0000 (16:47 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 30 Jan 2017 13:02:57 +0000 (13:02 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Serials.pm

index d1f9299..67abef0 100644 (file)
@@ -746,7 +746,7 @@ sub GetSerials2 {
                  FROM     serial 
                  WHERE    subscriptionid=?
             |
-            . q| AND status IN (| . join( ",", ('?') x @$statuses ) . ")" . q|)|
+            . q| AND status IN (| . join( ",", ('?') x @$statuses ) . q|)|
             . q|
                  ORDER BY publisheddate,serialid DESC
     |;