]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 7 Feb 2014 15:13:03 +0000 (12:13 -0300)
commit59d3dcb508a4f3be750e79797254f43bf5e1fae9
treeb58ae82bef9a99fb87d05c232b2d0935ebb87cd0
parentbff00739703bd38951b171078f0413d3413705fe
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>
(cherry picked from commit 8ee6e4290e2d1ca4fea53363b7ca3275cb0e6f58)
(cherry picked from commit bff4fac7b78fe8573527c8733f8364af351d23a9)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Koha.pm
t/db_dependent/Koha/GetDailyQuote.t