Koha/authorities
Colin Campbell da270d9c9b Bug 12573: Use correct comparison for comparing strings
Perl issues a warning when you try to do a numeric comparison on
non numeric values. While in 99% of the caeses numeric and string
comparison behave similarly when they dont tracking down resulting
bugs is hard. Also we dont want to be logging errors for normal
operations. replace numeric == with eq
(also switched to non-interpolating quotes so we dont generate
a warning from static code checkers like perlcritic)

Signed-off-by: Frederic Demians <f.demians@tamil.fr>

I can get this warnings in log files. This patch make perfectly sense.
MARC subfield code should never be tested with Perl == operator, since
the code could be letter or a number. Perl eq operator do an implicit
string conversion for value which is a number, so it will work in any
case.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-28 10:44:21 -03:00
..
auth_finder.pl Bug 7442: fix crash when selecting an authority with 200$x or 200$y (UNIMARC) 2014-05-05 01:09:29 +00:00
authorities-home.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
authorities-list.pl Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
authorities.pl Bug 12177 - Remove HTML from authorities.pl 2014-08-19 09:27:08 -03:00
blinddetail-biblio-search.pl Bug 12573: Use correct comparison for comparing strings 2014-10-28 10:44:21 -03:00
detail-biblio-search.pl Bug 11349: Make the QA script happy 2014-07-17 11:06:06 -03:00
detail.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
export.pl Bug 10888: Don't hide authorities module from users who lack permission to edit authorities 2013-09-21 17:59:05 +00:00
merge.pl Bug 11652: ensure that merging authority records corrects biblios 2014-02-13 03:03:21 +00:00
merge_ajax.pl Bug 5202: merge authorities from the authority file and reservoir 2013-10-10 21:32:27 +00:00
ysearch.pl Bug 9282: (follow-up) remove log noise caused by authorities/ysearch.pl 2013-10-10 22:46:18 +00:00