Hi, Problem now fixed via alternative patches that don't require turning of the uninitialized warnings class.
Regards, Galen On Mon, Mar 9, 2009 at 5:14 AM, Mason James <[email protected]> wrote: > fixes many warnings during searching. > > opac-search.pl: Use of uninitialized value in concatenation (.) or string at > /home/mason/git/stable/C4/Biblio.pm line 994., > opac-search.pl: Use of uninitialized value in concatenation (.) or string at > /home/mason/git/stable/C4/Biblio.pm line 994., > opac-search.pl: Use of uninitialized value in concatenation (.) or string at > /home/mason/git/stable/C4/Biblio.pm line 994., > > --- > C4/Biblio.pm | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/C4/Biblio.pm b/C4/Biblio.pm > index e911713..82f24bc 100755 > --- a/C4/Biblio.pm > +++ b/C4/Biblio.pm > @@ -993,7 +993,13 @@ sub GetCOinSBiblio { > $issn = $record->subfield('022','a'); > > } > - $coins_value = > "ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A$mtx$genre$title&rft.isbn=$isbn&rft.issn=$issn&rft.aulast=$aulast&rft.aufirst=$aufirst$oauthors&rft.pub=$publisher&rft.date=$pubyear"; > + > + { > + # stop 'Use of uninitialized value in concatenation (.) or string ' > warning > + no warnings 'uninitialized'; > + $coins_value = > "ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A$mtx$genre$title&rft.isbn=$isbn&rft.issn=$issn&rft.aulast=$aulast&rft.aufirst=$aufirst$oauthors&rft.pub=$publisher&rft.date=$pubyear"; > + } > + > $coins_value =~ s/\ /\+/g; > #<!-- TMPL_VAR NAME="ocoins_format" -->&rft.au=<!-- TMPL_VAR > NAME="author" -->&rft.btitle=<!-- TMPL_VAR NAME="title" > -->&rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&rft.pages=<!-- > TMPL_VAR NAME="pages" -->&rft.isbn=<!-- TMPL_VAR NAME=amazonisbn > -->&rft.aucorp=&rft.place=<!-- TMPL_VAR NAME="place" > -->&rft.pub=<!-- TMPL_VAR NAME="publishercode" -->&rft.edition=<!-- > TMPL_VAR NAME="edition" -->&rft.series=<!-- TMPL_VAR NAME="series" > -->&rft.genre=" > } > -- > 1.5.6.5 > > _______________________________________________ > Koha-patches mailing list > [email protected] > http://lists.koha.org/mailman/listinfo/koha-patches > -- Galen Charlton VP, Research & Development, LibLime [email protected] p: 1-888-564-2457 x709 skype: gmcharlt _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
