[Koha-bugs] [Bug 20305] Warnings in tools scripts need to be removed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 26 08:01:54 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20305

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 72273
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72273
Bug 20305: Remove warnings from tools scripts

Review of attachment 72273:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20305&attachment=72273)
-----------------------------------------------------------------

::: tools/batchMod.pl
@@ +315,4 @@
>  my $subfieldsToAllowForBatchmod = C4::Context->preference('SubfieldsToAllowForRestrictedBatchmod');
>  my $allowAllSubfields = (
>      not defined $subfieldsToAllowForBatchmod
> +      or $subfieldsToAllowForBatchmod ne q||

Wrong equality, I believe.
!~ /\S/ might be better?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list