]> git.koha-community.org Git - koha.git/commit
Bug 20446: Fix Edifact quotes processing
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 29 Mar 2018 13:39:08 +0000 (10:39 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Apr 2018 16:31:45 +0000 (13:31 -0300)
commit69f71ca2bf3e3c6a6a07cb97f88681c86c7d11b1
treed91589c4706f482ba2760eadaf9e08c4a0936f72
parent45b1dee67e5fd771adbb30e9cac352b8a0c6ab40
Bug 20446: Fix Edifact quotes processing

Caused by
  commit 04aea91de0f2fe1103e4021f880d135da1fd11a9
  Bug 15685: (QA follow-up) Address QA issues

->find is called on Koha::Object instead of the set class (Koha::Objects)
and raises the following error:
Can't use string ("Koha::Acquisition::Basket") as a HASH ref while
"strict refs" in use at /usr/share/koha/lib/Koha/Object.pm line 275.

This patch also makes sure $basketno refers to an existing basket in DB

I cannot provide a test plan, I have no idea how this code is used.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/EDI.pm