Koha/svc
Marcel de Rooy 0079ca7c72 Bug 15758: [QA Follow-up] Some corrections related to GetBranchName
[1] Acquisition.pm
The lines filling $row in GetBasketGroupAsCSV may have side-effects when
the library name is not found. This change restores former behavior. Just
theoretically more safe.
Note that it also contained a typo: $row->{deliveryplace} should have been
$row->{$place}.

[2] Auth.pm
checkauth: $branchname = Koha::Libraries->find($branchcode)->branchname;
Should normally be fine, but I rather have an empty string here than
crashing on "Can't call method branchname on undefined value".
Same for sub check_api_auth.
Note that this holds for a larger number of calls, but I am adding a check
here because it is checkauth.
Also removed a duplicate use Koha::Libraries-statement.

[3] Search.pm
Also removed a duplicate use statement for Libraries.

[4] svc/holds
Added an (explicit) use statement for Koha::Libraries.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-08 14:36:05 +00:00
..
cataloguing Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
config Bug 16508: Updating a syspref requires parameters_remaining_permissions 2016-06-06 17:33:18 +00:00
hold
members Bug 16476: Do not call CGI->param in list context, some more 2016-05-16 17:11:46 +00:00
records
virtualshelves Bug 16476: Do not call CGI->param in list context, some more 2016-05-16 17:11:46 +00:00
authentication
barcode
bib
bib_profile
checkin
checkouts Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
cover_images
holds Bug 15758: [QA Follow-up] Some corrections related to GetBranchName 2016-09-08 14:36:05 +00:00
import_bib
letters
localization
new_bib
renew Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
report Bug 17189: Replace occurrences of 'use Koha::Cache' 2016-09-08 10:24:47 +00:00