[Slashdotjp-dev 1458] [989] Fix to change discussion dkid for "journal-story" submissions/ stories/journals.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 2日 (月) 16:40:48 JST


Revision: 989
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=989
Author:   tach
Date:     2009-02-02 16:40:48 +0900 (Mon, 02 Feb 2009)

Log Message:
-----------
Fix to change discussion dkid for "journal-story" submissions/stories/journals.

Modified Paths:
--------------
    slashjp/trunk/Slash/DB/MySQL/MySQL.pm
    slashjp/trunk/debian/changelog


-------------- next part --------------
Modified: slashjp/trunk/Slash/DB/MySQL/MySQL.pm
===================================================================
--- slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2009-01-30 12:34:58 UTC (rev 988)
+++ slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2009-02-02 07:40:48 UTC (rev 989)
@@ -7771,7 +7771,8 @@
 				$story->{discussion} = $item->{discussion};
 			}
 
-		} elsif ($story->{subid}) {
+		}
+		if ($story->{subid}) {
 			if ($self->sqlSelect('id', 'journal_transfer',
 				'subid=' . $self->sqlQuote($story->{subid})
 			)) {

Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2009-01-30 12:34:58 UTC (rev 988)
+++ slashjp/trunk/debian/changelog	2009-02-02 07:40:48 UTC (rev 989)
@@ -1,3 +1,10 @@
+slash (2.5.0.233-5) unstable; urgency=low
+
+  * Fix to change discussion dkid for "journal-story"
+    submissions/stories/journals.
+
+ -- Taku YASUI <tach****@osdn*****>  Mon,  2 Feb 2009 07:39:35 +0000
+
 slash (2.5.0.233-4) unstable; urgency=low
 
   * Add regen-all command to re-generate all story shtml files



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