http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58968

Revision: 58968
Author:   siebrand
Date:     2009-11-12 20:33:16 +0000 (Thu, 12 Nov 2009)

Log Message:
-----------
Replace unknown variable $renderpos by LqtView::viewThread's default for 2nd 
param (1)

Modified Paths:
--------------
    trunk/extensions/LiquidThreads/api/ApiThreadAction.php

Modified: trunk/extensions/LiquidThreads/api/ApiThreadAction.php
===================================================================
--- trunk/extensions/LiquidThreads/api/ApiThreadAction.php      2009-11-12 
20:25:56 UTC (rev 58967)
+++ trunk/extensions/LiquidThreads/api/ApiThreadAction.php      2009-11-12 
20:33:16 UTC (rev 58968)
@@ -511,7 +511,7 @@
                $title = $article->getTitle();
                $view = new LqtView( $wgOut, $article, $title, $wgUser, 
$wgRequest );
                
-               $view->showThread( $thread, $renderpos, $rendercount, $options 
);
+               $view->showThread( $thread, 1, $rendercount, $options );
 
                $result = $wgOut->getHTML();
                $wgOut->clearHTML();



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to