]> git.koha-community.org Git - koha.git/commit
Bug 21170: Remove "isn't numeric in numeric eq (==)" warnings in MARCdetail
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 Dec 2018 15:55:34 +0000 (12:55 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 18 Jan 2019 20:35:49 +0000 (20:35 +0000)
commitb608f548a894cb433c4218b94a33d6b8a824a4c4
treed7114e0d44ceeb2f1c6e5f2b8a79d9c891a4f2ba
parent6c8089b40fef1b59ab056bae8817933afdb2fcc3
Bug 21170: Remove "isn't numeric in numeric eq (==)" warnings in MARCdetail

Easily removed switching the two conditions.

Test plan:
Hit catalogue/MARCdetail.pl?biblionumber=1
=> Without this patch you will see in the log warnings like
  Argument "ddc" isn't numeric in numeric eq (==) at /home/vagrant/kohaclone/catalogue/MARCdetail.pl line 277.
=> With this patch applied the warnings do no longer appear

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
catalogue/MARCdetail.pl