]> git.koha-community.org Git - koha.git/commit
Bug 17842: Simplify the code
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Jun 2020 09:05:12 +0000 (11:05 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 12 Jun 2020 08:32:35 +0000 (10:32 +0200)
commit74c7530e3dacd7a1df9ed72d031bc1a5b7063142
treef03fc2700938ec37abf332be717fbcbb2cc3e485
parent13ec430eccd52413e756c88f90a370787842cbc2
Bug 17842: Simplify the code

There is no need for all the conditions.
From Encode::encode POD:
  "If the $string is undef, then undef is returned."

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
basket/downloadcart.pl
opac/opac-downloadcart.pl