[Koha-bugs] [Bug 17836] (ILSDI) 'charges' always '1'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 3 19:03:16 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17836

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to M. Tompsett from comment #3)
> Comment on attachment 58569 [details] [review]
> Bug 17836: (ILSDI) Make GetPatronInfo fill 'charges' correctly
> 
> Review of attachment 58569 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: C4/ILSDI/Services.pm
> @@ -376,4 @@
> >  
> >      # Cleaning the borrower hashref
> >      my $flags = C4::Members::patronflags( $borrower );
> > -    $borrower->{'charges'}    = $flags>{'CHARGES'}->{'amount'};
> 
> OH MY! What a horrid typo.

This should have been cough by our test suite, but we haven't reached ILSID yet
in our attempt to improve coverage.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list