no owner in 1.6
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 13 Oct 2010 16:32:59 +0000 (16:32 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 13 Oct 2010 16:32:59 +0000 (16:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18316 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Cat.pm

index 9b1efed..0e7841c 100644 (file)
@@ -199,7 +199,7 @@ sub template_overlay_biblio_record_entry {
         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;
         }