svnno****@sourc*****
svnno****@sourc*****
2008年 4月 24日 (木) 18:10:56 JST
Revision: 604 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=604 Author: tach Date: 2008-04-24 18:10:56 +0900 (Thu, 24 Apr 2008) Log Message: ----------- * Fix to update story-submitted journal correctly - Do not use "submit" reskey Modified Paths: -------------- slashjp/branches/2.5.0.192/debian/changelog slashjp/branches/2.5.0.192/plugins/Journal/journal.pl -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-04-24 08:15:54 UTC (rev 603) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-04-24 09:10:56 UTC (rev 604) @@ -5,8 +5,11 @@ update_journal_story_discussion_to_story has been enabled. * Fix not to show contents when the skin does not exist * Fix to create/update firehose item from Journal correctly + - Do not use "submit" reskey + * Fix to update story-submitted journal correctly + - Do not use "submit" reskey - -- Taku YASUI <tach****@osdn*****> Thu, 24 Apr 2008 17:15:12 +0900 + -- Taku YASUI <tach****@osdn*****> Thu, 24 Apr 2008 18:08:44 +0900 slash (2.5.0.192-9) unstable; urgency=low Modified: slashjp/branches/2.5.0.192/plugins/Journal/journal.pl =================================================================== --- slashjp/branches/2.5.0.192/plugins/Journal/journal.pl 2008-04-24 08:15:54 UTC (rev 603) +++ slashjp/branches/2.5.0.192/plugins/Journal/journal.pl 2008-04-24 09:10:56 UTC (rev 604) @@ -584,7 +584,7 @@ # don't allow submission if user can't submit stories # note: this may not work properly with SOAP, but submissions # not enabled with SOAP now anyway - if ($constants->{journal_create_submission} && $form->{promotetype} eq 'publicize') { + if (!$form->{id} && $constants->{journal_create_submission} && $form->{promotetype} eq 'publicize') { my $reskey = getObject('Slash::ResKey'); my $submit_rkey = $reskey->key('submit', { nostate => 1 }); unless ($submit_rkey->createuse) {