[Slashdotjp-dev 1560] [1091] fix condition

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 3月 31日 (火) 19:32:41 JST


Revision: 1091
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1091
Author:   tach
Date:     2009-03-31 19:32:41 +0900 (Tue, 31 Mar 2009)

Log Message:
-----------
fix condition

Modified Paths:
--------------
    slashjp/trunk/plugins/Admin/Admin.pm


-------------- next part --------------
Modified: slashjp/trunk/plugins/Admin/Admin.pm
===================================================================
--- slashjp/trunk/plugins/Admin/Admin.pm	2009-03-31 10:29:46 UTC (rev 1090)
+++ slashjp/trunk/plugins/Admin/Admin.pm	2009-03-31 10:32:41 UTC (rev 1091)
@@ -289,7 +289,7 @@
 	my($self, $story_content, $tids, $nick, $uid) = @_;
 	my $relatedtext = '';
 	$relatedtext .= $self->getRelated($story_content, $tids)
-		if ($constants->{relatedtext_only_otherlinks});
+		unless (getCurrentStatic('relatedtext_only_otherlinks'));
 	$relatedtext .= $self->otherLinks($nick, $tids, $uid) if $nick;
 
 	# If getRelated and otherLinks seem to be putting <li>



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