r86851 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86850‎ | r86851 | r86852 >
Date:12:18, 25 April 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
properly set headers when using ASK
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlResultParser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlResultParser.php
@@ -128,6 +128,7 @@
129129 } elseif ( $prevTag == 'boolean' ) { // no "results" in this case
130130 $literal = new SMWExpLiteral( $dataString, 'http://www.w3.org/2001/XMLSchema#boolean' );
131131 $this->m_data = array( array( $literal ) );
 132+ $this->m_header = array( '' => 0 );
132133 }
133134 }
134135

Status & tagging log