]> git.koha-community.org Git - koha.git/commit
Bug 17081 Incorrect comparison operator used in edifactmsgs.pl
authorColin Campbell <colin.campbell@ptfs-europe.com>
Mon, 8 Aug 2016 15:13:37 +0000 (16:13 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 23 Aug 2016 10:07:53 +0000 (12:07 +0200)
commit7608e82dff0e9ca1b66426632053c4516bd88c2e
tree906f6f500042dafd220b5e60af72609876314007
parent2dc212beef4f4baa56e2c2cac00cdf038989f884
Bug 17081 Incorrect comparison operator used in edifactmsgs.pl

Numeric comparison operator is used where string comparison required,
resulting in the following warning in the log: 'Argument "delete" isn't
numeric in numeric eq (==).'

This patch corrects it to use 'eq' not '==' to compare strings.

To test, apply the patch and go to Acquisitions -> EDIFACT messages.

Delete an EDIFACT message. There should be no error in the error log.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit cc6fc0800cb3446ebe482b7dbb2f6ec4a543d869)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
acqui/edifactmsgs.pl