From 6021485d10481ac7134d452755a6df806242e645 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 11 Mar 2008 18:55:37 +0000 Subject: [PATCH] and return the result of the cstore call git-svn-id: svn://svn.open-ils.org/ILS/trunk@8976 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm b/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm index e19d707004..ea0160a83b 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm @@ -185,8 +185,9 @@ sub CRUD_action_object_permcheck { return $obj if ($self->{action} eq 'retrieve'); my $val = $e->session->request("open-ils.cstore.direct.$o_type.$self->{action}" => $obj )->gather(1); - $e->commit; + + return $val; } sub search_permacrud { -- 2.43.2