r77847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77846‎ | r77847 | r77848 >
Date:00:41, 6 December 2010
Author:werdna
Status:deferred
Tags:
Comment:
Fix E_NOTICE
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/ParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/ParserFunctions.php
@@ -22,14 +22,14 @@
2323
2424 /** To bypass the parser cache just for the LiquidThreads part, we have a cute trick.
2525 * We leave a placeholder comment in the HTML, which we expand out in a hook. This way,
26 - * most of the page can be cached, but the LiquidThreads dynamicism still works.
 26+ * most of the page can be cached, but the LiquidThreads dynamism still works.
2727 * Thanks to Tim for the idea. */
2828 static function lqtTalkPage( $parser, $args, $parser, $frame ) {
2929 $pout = $parser->getOutput();
3030
3131 // Prepare information.
3232 $title = null;
33 - if ( $args['talkpage'] ) {
 33+ if ( !empty($args['talkpage']) ) {
3434 $title = Title::newFromText( $args['talkpage'] );
3535 }
3636 if ( is_null($title) ) {

Status & tagging log