Patch from Lee Dickens and Galen Charlton to correct a thinko in the recent change...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Mar 2010 14:34:53 +0000 (14:34 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Mar 2010 14:34:53 +0000 (14:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16054 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/extras/import/pg_loader.pl

index 45b3f00..2e9eb75 100755 (executable)
@@ -126,7 +126,7 @@ for my $h (@order) {
                $output->print("SELECT reporter.disable_materialized_simple_record_trigger();\n");
        }
 
-       $after_commit .= "SELECT setval('$fieldcache{$h}{sequence}'::TEXT, (SELECT MAX($fieldcache{$h}{pkey}) FROM $fieldcache{$h}{table}), TRUE);\n";
+       $after_commit .= "SELECT setval('$fieldcache{$h}{sequence}'::TEXT, (SELECT MAX($fieldcache{$h}{pkey}) FROM $fieldcache{$h}{table}), TRUE);\n"
                if (!grep { $_ eq $h} @auto);
 }