Index: trunk/extensions/LiquidThreads/classes/ParserFunctions.php |
— | — | @@ -22,14 +22,14 @@ |
23 | 23 | |
24 | 24 | /** To bypass the parser cache just for the LiquidThreads part, we have a cute trick. |
25 | 25 | * 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. |
27 | 27 | * Thanks to Tim for the idea. */ |
28 | 28 | static function lqtTalkPage( $parser, $args, $parser, $frame ) { |
29 | 29 | $pout = $parser->getOutput(); |
30 | 30 | |
31 | 31 | // Prepare information. |
32 | 32 | $title = null; |
33 | | - if ( $args['talkpage'] ) { |
| 33 | + if ( !empty($args['talkpage']) ) { |
34 | 34 | $title = Title::newFromText( $args['talkpage'] ); |
35 | 35 | } |
36 | 36 | if ( is_null($title) ) { |