[Slashdotjp-dev 1118] [645] Fix: linkStory() add "?m=1"

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 5月 14日 (水) 14:58:33 JST


Revision: 645
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=645
Author:   tach
Date:     2008-05-14 14:58:33 +0900 (Wed, 14 May 2008)

Log Message:
-----------
Fix: linkStory() add "?m=1"

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/Slash/Utility/Display/Display.pm
    slashjp/branches/2.5.0.192/debian/changelog


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/Slash/Utility/Display/Display.pm
===================================================================
--- slashjp/branches/2.5.0.192/Slash/Utility/Display/Display.pm	2008-05-12 18:18:23 UTC (rev 644)
+++ slashjp/branches/2.5.0.192/Slash/Utility/Display/Display.pm	2008-05-14 05:58:33 UTC (rev 645)
@@ -474,6 +474,7 @@
 	$params{sid} = $story_link->{sid};
 	$params{mode} = $story_link->{mode} if $story_link->{mode};
 	$params{threshold} = $story_link->{threshold} if exists $story_link->{threshold};
+	$params{m} = '1' if (getCurrentForm('m'));
 
 	# Setting $dynamic properly is important.  When generating the
 	# AC index.shtml, it's a big win if we link to other

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-05-12 18:18:23 UTC (rev 644)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-05-14 05:58:33 UTC (rev 645)
@@ -1,3 +1,9 @@
+slash (2.5.0.192-13) unstable; urgency=low
+
+  * Fix: linkStory() add '?m=1'
+
+ -- Taku YASUI <tach****@osdn*****>  Wed, 14 May 2008 05:57:47 +0000
+
 slash (2.5.0.192-12) unstable; urgency=low
 
   * Add mobile mode


Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る