Cannot use "->find" in list context at /home/vagrant/kohaclone/acqui/booksellers.pl line 86.
Created attachment 62858 [details] [review] Bug 18511 - Error loading booksellers.pl - Cannot use "->find" in list context To test: 1 - Load http://localhost:8081/cgi-bin/koha/acqui/booksellers.pl?booksellerid=1 2 - Should get internal server erro 3 - Apply patch 4 - Reload 5 - Should not get error
Reproduced on top of 18179
With patch applied, problem is gone if booksellerid exists. However I get an Internal server error if I change it to a non existing id, e.g.: /cgi-bin/koha/acqui/booksellers.pl?booksellerid=999 Plack errorr log says: Can't call method "name" on an undefined value at (...)booksellers.pl line 93 I did the same before applying 18179 and 18511, had no error.
Patch moved to bug 18179. *** This bug has been marked as a duplicate of bug 18179 ***