[open-ils-commits] r8395 -
branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jan 16 17:27:08 EST 2008
Author: erickson
Date: 2008-01-16 17:01:33 -0500 (Wed, 16 Jan 2008)
New Revision: 8395
Modified:
branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm
Log:
repaired some missing vars and closing 1;
Modified: branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm
===================================================================
--- branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm 2008-01-16 21:52:36 UTC (rev 8394)
+++ branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm 2008-01-16 22:01:33 UTC (rev 8395)
@@ -29,6 +29,7 @@
sub create_provider {
my($self, $conn, $auth, $provider) = @_;
+ my $e = new_editor(authtoken=>$auth, xact=>1);
return $e->die_event unless $e->checkauth;
return $e->die_event unless $e->allowed('CREATE_PROVIDER', $provider->owner);
$e->create_acq_provider($provider) or return $e->die_event;
@@ -61,4 +62,4 @@
}
-
+1;
More information about the open-ils-commits
mailing list