Koha/catalogue
Joe Atzberger 28a7b360be Block warning on detail.pl.
If Amazon doesn't have an avg. rating number defined, then we cannot multiply it
by 20 without the following warning:

    detail.pl: Use of uninitialized value in multiplication (*)
    at /home/user/kohaclone/catalogue/detail.pl line 228.

So the important part of this patch is || 0 on the $average_rating assignment.

[RM note: applying for whitespace cleanup]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-04-24 09:02:34 -05:00
..
cardview.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
detail.pl Block warning on detail.pl. 2009-04-24 09:02:34 -05:00
detailprint.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
dictionary.pl cataloge subdir (and cataloguing) - Dates.pm integration and warnings fixes. 2007-12-04 18:21:11 -06:00
export.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
ISBDdetail.pl (bug #3053) extract ISBD view generator, and permit to display valuecode in ISBD view 2009-04-06 11:16:34 -05:00
issuehistory.pl bug 2874 [3/3] flagsrequired => { circulate => "circulate_remaining_permissions" } 2008-12-23 17:02:04 -06:00
MARCdetail.pl fix for #1731 2009-04-18 18:38:45 -05:00
moredetail.pl bug 3049: display correct due date of renewed loans 2009-04-08 14:51:32 -05:00
search.pl remove incomplete bib bulk editing code 2009-04-06 10:53:50 -05:00
showmarc.pl remove superfluous retrieval of $ENV{'REMOTE_USER'} 2008-12-05 16:03:43 -06:00
suggest.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
updateitem.pl Update longoverdue.pl cron job to manage setting lost values. 2008-08-10 15:54:29 -05:00