https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20914 Bug ID: 20914 Summary: Internal server error in OPAC Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: stefan.berndtsson@ub.gu.se QA Contact: testopia@bugs.koha-community.org opac-user.pl tries to fetch an invalid column when calculating fines. my $rental_fines = Koha::Account::Lines->search( { borrowernumber => $patron->borrowernumber, amountoutstanding => { '>' => 0 }, accounttype => 'Rent', itemnumber => $issue->{itemnumber} }, { select => [ { sum => 'amountoutstanding' } ], as => ['rental_fines'] } ); $issue->{rentalfines} = $charges->count ? $charges->next->get_column('rental_fines') : 0; This code fetches the column "rental_fines" into the variable "$rental_fines", but then tries to read that column data from a different variable ("$charges"). -- You are receiving this mail because: You are watching all bug changes.