r40327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40326‎ | r40327 | r40328 >
Date:16:42, 2 September 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Reset internal variables before each printout
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php
@@ -84,6 +84,8 @@
8585 * are directly generated and appended. For SMW_OUTPUT_FILE, only the plain generated text is returned.
8686 */
8787 public function getResult($results, $params, $outputmode) {
 88+ $this->isHTML = false;
 89+ $this->hasTemplates = false;
8890 $this->readParameters($params,$outputmode);
8991
9092 // Default output for normal printers:

Status & tagging log