]> git.koha-community.org Git - koha.git/commit
Bug 11279: (follow-up) remove unnecessary check on number of quotes
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 19 Dec 2013 10:05:54 +0000 (11:05 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 19 Dec 2013 15:06:39 +0000 (15:06 +0000)
commit8ee6e4290e2d1ca4fea53363b7ca3275cb0e6f58
tree9495b1f2cc4daa6a91a924af51ebb1bcfac22c99
parent5a3db23362eb076a2f6d5a87f87b29f4a436a14f
Bug 11279: (follow-up) remove unnecessary check on number of quotes

It is not necessary to process the case where the number of quotes
is just one, as int(rand(1)) will always produce 0, which is a valid
offset.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Koha.pm
t/db_dependent/Koha/GetDailyQuote.t