return the correct failpart for precat/noncat items
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 12 Mar 2010 15:03:20 +0000 (15:03 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 12 Mar 2010 15:03:20 +0000 (15:03 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15827 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index bb9d36a..55dabe1 100644 (file)
@@ -309,7 +309,7 @@ BEGIN
 
     -- Fail if we couldn't find the item 
     IF item_object.id IS NULL THEN
-        result.fail_part := 'no_user';
+        result.fail_part := 'no_item';
         result.success := FALSE;
         done := TRUE;
         RETURN NEXT result;