]> git.koha-community.org Git - koha.git/commit
fix various warnings
authorGalen Charlton <galen.charlton@liblime.com>
Wed, 8 Apr 2009 20:34:45 +0000 (15:34 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 8 Apr 2009 20:54:19 +0000 (15:54 -0500)
commit6a2a4e146e69bceccb0e14272f2ee002a286cf3b
treeeb0751bc8b174a2e75046f41c43683c7adcd1bc9
parent74cb2f666e3bf1478dca979e2aae68a36a2acd97
fix various warnings

* Use of uninitialized value in pattern match (m//) at C4/Biblio.pm line 1305
  (displaying MARC21 856s that don't have $3)
* Use of uninitialized value in multiplication (*) at catalogue/detail.pl line 243.
  (attemping to calculate average Amazon rating if no Amazon info
   is available)
* opac-detail.pl: Use of uninitialized value in length at C4/External/Amazon.pm line 90
  (attempting to calculate length of $isbn if it happens to be undef)

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Biblio.pm
C4/External/Amazon.pm
catalogue/detail.pl
opac/opac-detail.pl