]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 1 Feb 2019 14:51:23 +0000 (14:51 +0000)
commit3dc0aa4293c8997d4660c710727ea0e2235887f4
tree5a27cd9836b8f1f2e8e7af1803828de6b8d25d46
parentabaefea4187b78086aae40b91cdd0c2745eee504
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>
(cherry picked from commit b608f548a894cb433c4218b94a33d6b8a824a4c4)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 2cceecd43866efd56d84ab45c6b4e9f10895533f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
catalogue/MARCdetail.pl