[Slashdotjp-dev 1428] [959] prevent warnings

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 1月 20日 (火) 16:58:54 JST


Revision: 959
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=959
Author:   tach
Date:     2009-01-20 16:58:54 +0900 (Tue, 20 Jan 2009)

Log Message:
-----------
prevent warnings

Modified Paths:
--------------
    slashjp/trunk/Slash/DB/MySQL/MySQL.pm
    slashjp/trunk/plugins/FireHose/FireHose.pm


-------------- next part --------------
Modified: slashjp/trunk/Slash/DB/MySQL/MySQL.pm
===================================================================
--- slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2009-01-20 07:35:50 UTC (rev 958)
+++ slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2009-01-20 07:58:54 UTC (rev 959)
@@ -7640,7 +7640,7 @@
 	$discussion->{type} ||= 'open';
 	# XXXSKIN this should be pulled from gSkin not constants
 	$discussion->{commentstatus} ||= getCurrentStatic('defaultcommentstatus');
-	$discussion->{primaryskid} ||= 0;
+	$discussion->{primaryskid} ||= getCurrentStatic('mainpage_skid');
 	$discussion->{topic} ||= 0;
 	$discussion->{sid} ||= '';
 	$discussion->{stoid} ||= 0;

Modified: slashjp/trunk/plugins/FireHose/FireHose.pm
===================================================================
--- slashjp/trunk/plugins/FireHose/FireHose.pm	2009-01-20 07:35:50 UTC (rev 958)
+++ slashjp/trunk/plugins/FireHose/FireHose.pm	2009-01-20 07:58:54 UTC (rev 959)
@@ -187,6 +187,7 @@
 		globjid		=> $globjid,
 		discussion	=> $comment->{sid},
 		createtime	=> $comment->{date},
+		primaryskid	=> getCurrentStatic('mainpage_skid'),
 	};
 	my $fhid = $self->createFireHose($data);
 


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