[open-ils-commits] r18317 - 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:42:17 EDT 2010


Author: miker
Date: 2010-10-13 12:42:14 -0400 (Wed, 13 Oct 2010)
New Revision: 18317

Modified:
   branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
Log:
Again, 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:32:59 UTC (rev 18316)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm	2010-10-13 16:42:14 UTC (rev 18317)
@@ -280,7 +280,7 @@
         next unless $rec;
 
         my $success = 'f';
-        if ($e->allowed('UPDATE_RECORD', $rec->owner, $rec)) {
+        if ($e->allowed('UPDATE_RECORD')) {
             $success = $e->json_query(
                 { from => [ 'vandelay.template_overlay_bib_record', $template, $rec->id ] }
             )->[0]->{'vandelay.template_overlay_bib_record'};



More information about the open-ils-commits mailing list