]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 4 Feb 2019 09:30:54 +0000 (10:30 +0100)
commit4491e4b06a8c3de21d5d31af90c5fd82b5882c9a
tree8de6dbb906ad0d218c6170d9cedd187561f8da94
parentd504715ea7db808ed2adc5c75f7fd0488715487d
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>
(cherry picked from commit 3dc0aa4293c8997d4660c710727ea0e2235887f4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
catalogue/MARCdetail.pl