[Slashdotjp-dev 1123] [648] * Fix: Use of uninitialized value in string eq at

Back to archive index

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


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

Log Message:
-----------
 * Fix: Use of uninitialized value in string eq at
   /usr/lib/perl5/Slash/XML/FOAF.pm line 170.

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/Slash/XML/FOAF/FOAF.pm
    slashjp/branches/2.5.0.192/debian/changelog


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/Slash/XML/FOAF/FOAF.pm
===================================================================
--- slashjp/branches/2.5.0.192/Slash/XML/FOAF/FOAF.pm	2008-05-15 09:09:14 UTC (rev 647)
+++ slashjp/branches/2.5.0.192/Slash/XML/FOAF/FOAF.pm	2008-05-16 06:24:18 UTC (rev 648)
@@ -167,7 +167,7 @@
 			$ret .= $self->_processFoaf( $name, $_ );
 		}
         }else{
-		if ($foaf_elements{$name} eq "resource"){
+		if ($foaf_elements{$name} && $foaf_elements{$name} eq "resource"){
 			$ret .= "<foaf:$name rdf:resource=\"$node\" />\n";
 		}elsif ($name eq "seeAlso"){
 			$ret .= "<rdfs:seeAlso rdf:resource=\"$node\" />\n";

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-05-15 09:09:14 UTC (rev 647)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-05-16 06:24:18 UTC (rev 648)
@@ -2,8 +2,10 @@
 
   * Fix: linkStory() add '?m=1'
   * 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.
 
- -- Taku YASUI <tach****@osdn*****>  Wed, 14 May 2008 09:27:31 +0000
+ -- Taku YASUI <tach****@osdn*****>  Fri, 16 May 2008 06:21:34 +0000
 
 slash (2.5.0.192-12) unstable; urgency=low
 


Slashdotjp-dev メーリングリストの案内
Back to archive index