fixing typo that caused a false value assignment
authorRogan Hamby <rhamby@equinoxinitiative.org>
Fri, 12 Jun 2020 17:10:53 +0000 (13:10 -0400)
committerRogan Hamby <rhamby@equinoxinitiative.org>
Fri, 12 Jun 2020 17:10:53 +0000 (13:10 -0400)
sql/base/21-fixed-fields.sql

index b771c05..149435c 100644 (file)
@@ -343,7 +343,7 @@ BEGIN
                yiform_exclude := '';
        END IF;
        IF xsrform_exclude IS NOT NULL THEN 
-               ysrform_exclude := ARRAY_TO_STRING(ysrform_exclude,',');
+               ysrform_exclude := ARRAY_TO_STRING(xsrform_exclude,',');
        ELSE
                ysrform_exclude := '';
        END IF;
@@ -499,7 +499,7 @@ BEGIN
         yiform_exclude := '';
     END IF;
     IF xsrform_exclude IS NOT NULL THEN
-        ysrform_exclude := ARRAY_TO_STRING(ysrform_exclude,',');
+        ysrform_exclude := ARRAY_TO_STRING(xsrform_exclude,',');
     ELSE
         ysrform_exclude := '';
     END IF;