https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14224
--- Comment #18 from Aleisha Amohia <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
