typo (copy/paste error) max_overdue -> max_fines
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Jun 2008 03:32:54 +0000 (03:32 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Jun 2008 03:32:54 +0000 (03:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9757 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/100.circ_matrix.sql

index 3a7b122..c65507a 100644 (file)
@@ -359,7 +359,7 @@ BEGIN
                        current_fines = current_fines - COALESCE(tmp_fines, 0.0);
                END LOOP;
 
-               IF current_fines >= circ_test.max_overdue THEN
+               IF current_fines >= circ_test.max_fines THEN
                        result.fail_part := 'config.circ_matrix_test.max_fines';
                        result.success := FALSE;
                        RETURN NEXT result;