]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 27 Jan 2014 12:38:29 +0000 (13:38 +0100)
commitbff4fac7b78fe8573527c8733f8364af351d23a9
tree387cd419e4a4d573c54d7c0fe5019a323d1492aa
parentae55277499f06ae0d3e2973349d1f34cf7f60ec8
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)
C4/Koha.pm
t/db_dependent/Koha/GetDailyQuote.t