no need to commit on read, rollback instead
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 2 Sep 2008 16:10:14 +0000 (16:10 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 2 Sep 2008 16:10:14 +0000 (16:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10507 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm

index 24ac733..32f4f22 100644 (file)
@@ -184,7 +184,7 @@ sub CRUD_action_object_permcheck {
     }
 
     if ($self->{action} eq 'retrieve') {
-        $e->commit;
+        $e->rollback;
         return $obj;
     }