[Koha-bugs] [Bug 22812] Cannot add new subscription with strict SQL modes turned on

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 10 14:36:12 CEST 2019


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

--- Comment #15 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Marcel de Rooy from comment #9)
> +    $_ ||= undef # Set to undef for integer values, not empty string
> +      for (
> +        $aqbooksellerid, $lastvalue1, $innerloop1, $lastvalue2,
> +        $innerloop2,     $lastvalue3, $innerloop3,
> +      );
> 
> This also sets 0 back to undef.

You are right, and I think it should be followed-up before pushed. I initially
write it for aqbooksellerid, and so wanted to catch 0. I reused the same logic
for the other errors (I was not expecting to have them initially).

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


More information about the Koha-bugs mailing list