[Slashdotjp-dev 1124] [649] * Use of uninitialized value in numeric ge (>=) at

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2008年 5月 16日 (金) 15:29:12 JST


Revision: 649
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=649
Author:   tach
Date:     2008-05-16 15:29:12 +0900 (Fri, 16 May 2008)

Log Message:
-----------
 * Use of uninitialized value in numeric ge (>=) at
   /var/lib/slash/site/slashdot.jp/htdocs/zoo.pl line 440.

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:24:18 UTC (rev 648)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-05-16 06:29:12 UTC (rev 649)
@@ -4,8 +4,10 @@
   * 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
+    /var/lib/slash/site/slashdot.jp/htdocs/zoo.pl line 440.
 
- -- Taku YASUI <tach****@osdn*****>  Fri, 16 May 2008 06:21:34 +0000
+ -- Taku YASUI <tach****@osdn*****>  Fri, 16 May 2008 06:26:31 +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:24:18 UTC (rev 648)
+++ slashjp/branches/2.5.0.192/plugins/Zoo/zoo.pl	2008-05-16 06:29:12 UTC (rev 649)
@@ -437,7 +437,7 @@
 			nick		=> $p->{nickname},
 			seeAlso		=> "$constants->{rootdir}/~" . fixparam($p->{nickname}) . "/$type.rdf",
 		}};
-		$other->{Person}{mbox_sha1sum} = Digest::SHA1::sha1_hex("mailto:" . $p->{realemail}) if $p->{emaildisplay} >= 1;
+		$other->{Person}{mbox_sha1sum} = Digest::SHA1::sha1_hex("mailto:" . $p->{realemail}) if ($p->{emaildisplay} && int($p->{emaildisplay}) >= 1);
 		push @knows, $other;
 	
 	}


Slashdotjp-dev メーリングリストの案内
Zurück zum Archiv-Index