From e586cb5a65221365f28491d56878d43ec0c798ff Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 18 Aug 2015 12:43:27 +0100 Subject: [PATCH] [PASSED QA] Bug 14529: The new list permission is 'lists', not 'shelves' Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall --- C4/VirtualShelves.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/VirtualShelves.pm b/C4/VirtualShelves.pm index 3833eec..0b11830 100644 --- a/C4/VirtualShelves.pm +++ b/C4/VirtualShelves.pm @@ -467,7 +467,7 @@ sub ShelfPossibleAction { my $borrower = C4::Members::GetMember( borrowernumber => $user ); require C4::Auth; return 1 - if C4::Auth::haspermission( $borrower->{userid}, { shelves => 'delete_public_lists' } ); + if C4::Auth::haspermission( $borrower->{userid}, { lists => 'delete_public_lists' } ); } my $dbh = C4::Context->dbh; -- 1.7.2.5