svnno****@sourc*****
svnno****@sourc*****
2008年 5月 16日 (金) 15:35:51 JST
Revision: 650 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=650 Author: tach Date: 2008-05-16 15:35:51 +0900 (Fri, 16 May 2008) Log Message: ----------- * Fix: Use of uninitialized value in numeric ge (>=) at /var/lib/slash/site/slashdot.jp/htdocs/zoo.pl line 427. * Fix: Use of uninitialized value in numeric ge (>=) at /var/lib/slash/site/slashdot.jp/htdocs/zoo.pl line 428. Modified Paths: -------------- slashjp/branches/2.5.0.192/debian/changelog slashjp/branches/2.5.0.192/plugins/Zoo/zoo.pl -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-05-16 06:29:12 UTC (rev 649) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-05-16 06:35:51 UTC (rev 650) @@ -4,10 +4,14 @@ * Fix: force mobile mode when ssi=yes and m=1 for prog2file * Fix: Use of uninitialized value in string eq at /usr/lib/perl5/Slash/XML/FOAF.pm line 170. - * Use of uninitialized value in numeric ge (>=) at + * Fix: Use of uninitialized value in numeric ge (>=) at /var/lib/slash/site/slashdot.jp/htdocs/zoo.pl line 440. + * Fix: Use of uninitialized value in numeric ge (>=) at + /var/lib/slash/site/slashdot.jp/htdocs/zoo.pl line 427. + * Fix: Use of uninitialized value in numeric ge (>=) at + /var/lib/slash/site/slashdot.jp/htdocs/zoo.pl line 428. - -- Taku YASUI <tach****@osdn*****> Fri, 16 May 2008 06:26:31 +0000 + -- Taku YASUI <tach****@osdn*****> Fri, 16 May 2008 06:32:44 +0000 slash (2.5.0.192-12) unstable; urgency=low Modified: slashjp/branches/2.5.0.192/plugins/Zoo/zoo.pl =================================================================== --- slashjp/branches/2.5.0.192/plugins/Zoo/zoo.pl 2008-05-16 06:29:12 UTC (rev 649) +++ slashjp/branches/2.5.0.192/plugins/Zoo/zoo.pl 2008-05-16 06:35:51 UTC (rev 650) @@ -424,8 +424,8 @@ # add various field is defined # email address depending on display setting - $person->{mbox_sha1sum} = Digest::SHA1::sha1_hex('mailto:' . $user->{realemail}) if $user->{realemail} && $user->{emaildisplay} >= 1; - $person->{mbox} = "mailto:" . $user->{realemail} if $user->{realemail} && $user->{emaildisplay} >= 2; + $person->{mbox_sha1sum} = Digest::SHA1::sha1_hex('mailto:' . $user->{realemail}) if $user->{realemail} && ($user->{emaildisplay} && int($user->{emaildisplay}) >= 1); + $person->{mbox} = "mailto:" . $user->{realemail} if $user->{realemail} && ($user->{emaildisplay} && int($user->{emaildisplay}) >= 2); $person->{homepage} = $user->{homepage} if $user->{homepage}; $person->{weblog} = $userpage . "journal/" if $user->{journal_last_entry_date};