From 07376b646ede82c916364dbddaeb2a24a0000ae6 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 18 Mar 2010 14:41:08 +0000 Subject: [PATCH] need to pass the $client to transactional methods git-svn-id: svn://svn.open-ils.org/ILS/trunk@15911 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm index fc1283e84..ba0f3bc6e 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm @@ -76,7 +76,7 @@ sub usr_breakdown_out { my $client = shift; my $usr = shift; - $self->method_lookup('open-ils.storage.transaction.begin')->run(); + $self->method_lookup('open-ils.storage.transaction.begin')->run($client); my $out_sql = <<" SQL"; SELECT id @@ -128,7 +128,7 @@ sub usr_breakdown_out { my $lo = actor::user->db_Main->selectcol_arrayref($lo_sql, {}, $usr); - $self->method_lookup('open-ils.storage.transaction.rollback')->run(); + $self->method_lookup('open-ils.storage.transaction.rollback')->run($client); if ($self->api_name =~/count$/o) { return { total => scalar(@$out) + scalar(@$od) + scalar(@$lost) + scalar(@$cl) + scalar(@$lo), -- 2.11.0