[Koha-bugs] [Bug 14224] patron notes about item shown at check in
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 29 23:09:17 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14224
--- Comment #18 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
(In reply to Jonathan Druart from comment #17)
> Hi Aleisha,
> I have tried this small snippet:
> use Koha::Issues;
> my $issue = Koha::Issues->find(1);
> say $issue->branchcode;
> and it works as expected.
> Do you have a small part of code to recreate the error you got?
use Koha::Issues;
my $issue_id = $query->param('issue_id');
if ( $issue_id =~ /\d+/ ) {
$issue = Koha::Issues->find($issue_id);
}
This returns the error.
I have checked that issue_id is being assigned correctly and it is, so can't
work out what I'm doing wrong.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list