[Koha-patches] [PATCH] Put patron Privilege 'updatecharges' to use on fines pages

Michael Hafen mdhafen at tech.washk12.org
Thu Nov 13 23:58:13 CET 2008


Just found a bug in my patch here.  I'll fix it and resubmit.

On Tue, 2008-11-11 at 14:30 -0700, Michael Hafen wrote:
> This changes the flags required for the fines pages to include the
> updatecharges flag.
> ---
>  members/boraccount.pl |    2 +-
>  members/mancredit.pl  |    2 +-
>  members/maninvoice.pl |    2 +-
>  members/pay.pl        |    2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
[snip]
> diff --git a/members/maninvoice.pl b/members/maninvoice.pl
> index c9931bd..37b5b3c 100755
> --- a/members/maninvoice.pl
> +++ b/members/maninvoice.pl
> @@ -71,7 +71,7 @@ if ($add){
>  					query => $input,
>  					type => "intranet",
>  					authnotrequired => 0,
> -					flagsrequired => {borrowers => 1},
> +					flagsrequired => {borrowers => 1, updatecharges = 1},
>  					debug => 1,
>  					});
>  					
[snip]
-- 
Michael Hafen
Systems Analyst and Programmer
Washington County School District
Utah, USA

for Koha checkout
http://koha-dev.washk12.org
or
git://koha-dev.washk12.org/koha




More information about the Koha-patches mailing list