https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41940 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |baptiste.wojtkowski@biblibr | |e.com --- Comment #3 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- my $patron_match = $borrowernumber == ( $patron_for_session // 0 ); my @conf_keys = split( /\|/, $session_confirmations // '' ); This line is correct but looks a bit unclear to me. Shouldn't we fix it with ternary syntax like this ? my $patron_match = $patron_for_session && ($borrowernumber == $patron_for_session); my @conf_keys = $session_confirmations ? split( /\|/, $session_confirmations) : (); -- You are receiving this mail because: You are watching all bug changes.