[Slashdotjp-dev 1513] [1044] * Fix: userInfo comment link from "journal" to "story" when kinds are

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 26日 (木) 20:24:31 JST


Revision: 1044
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1044
Author:   tach
Date:     2009-02-26 20:24:31 +0900 (Thu, 26 Feb 2009)

Log Message:
-----------
 * Fix: userInfo comment link from "journal" to "story" when kinds are
   "journal-story"
   http://sourceforge.jp/ticket/browse.php?group_id=4&tid=15282 (#15282)

Ticket Links:
:-----------
    http://sourceforge.jp/projects/slashdotjp/tracker/detail/15282

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/themes/slashcode/htdocs/users.pl


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2009-02-26 10:22:50 UTC (rev 1043)
+++ slashjp/trunk/debian/changelog	2009-02-26 11:24:31 UTC (rev 1044)
@@ -26,8 +26,10 @@
   * Disable discussion2 when mobile mode
   * Add variable "messages_send_journal_story_comments" to select sending
     messages for "journal-story" comments
+  * Fix: userInfo comment link from "journal" to "story" when kinds are
+    "journal-story"
 
- -- Taku YASUI <tach****@osdn*****>  Thu, 26 Feb 2009 10:21:37 +0000
+ -- Taku YASUI <tach****@osdn*****>  Thu, 26 Feb 2009 11:23:07 +0000
 
 slash (2.5.0.233-4) unstable; urgency=low
 

Modified: slashjp/trunk/themes/slashcode/htdocs/users.pl
===================================================================
--- slashjp/trunk/themes/slashcode/htdocs/users.pl	2009-02-26 10:22:50 UTC (rev 1043)
+++ slashjp/trunk/themes/slashcode/htdocs/users.pl	2009-02-26 11:24:31 UTC (rev 1044)
@@ -1231,7 +1231,7 @@
 			# A comment with no accompanying discussion;
 			# basically we pretend it doesn't exist.
 			next;
-		} elsif ($kinds->{ $discussion->{dkid} } =~ /^journal(?:-story)?$/) {
+		} elsif ($kinds->{ $discussion->{dkid} } eq 'journal') {
 			$type = 'journal';
 		} elsif ($kinds->{ $discussion->{dkid} } eq 'poll') {
 			$type = 'poll';



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