LP#1549505: another fix to the trigger
authorGalen Charlton <gmc@esilibrary.com>
Mon, 29 Feb 2016 21:39:35 +0000 (16:39 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 29 Feb 2016 21:39:35 +0000 (16:39 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.statisitcal-ratings.sql

index 3808459..1b59984 100644 (file)
@@ -71,6 +71,7 @@ BEGIN
                         THEN (SELECT bmp.record FROM biblio.monograph_part bmp WHERE bmp.id = NEW.target)
                 END;
     END IF;
+    RETURN NEW;
 END;
 $$ LANGUAGE PLPGSQL;