[open-ils-commits] r18316 - branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 13 12:33:02 EDT 2010


Author: miker
Date: 2010-10-13 12:32:59 -0400 (Wed, 13 Oct 2010)
New Revision: 18316

Modified:
   branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
Log:
no owner in 1.6

Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm	2010-10-13 16:31:49 UTC (rev 18315)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm	2010-10-13 16:32:59 UTC (rev 18316)
@@ -199,7 +199,7 @@
         my $rec = $e->retrieve_biblio_record_entry($rid);
         next unless $rec;
 
-        unless ($e->allowed('UPDATE_RECORD', $rec->owner, $rec)) {
+        unless ($e->allowed('UPDATE_RECORD')) {
             $conn->respond({ record => $rid, success => 'f' });
             next;
         }



More information about the open-ils-commits mailing list