r87071 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87070‎ | r87071 | r87072 >
Date:13:37, 28 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
update method call for SMW 1.6
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php
@@ -254,7 +254,7 @@
255255 /* SMWPrintRequest */ $printRequest = $resultArray->getPrintRequest();
256256
257257 // Loop throught all the parts of the field value.
258 - while ( ( /* SMWDataValue */ $object = $resultArray->getNextObject() ) !== false ) {
 258+ while ( ( /* SMWDataValue */ $object = $resultArray->getNextDataValue() ) !== false ) {
259259 if ( $object->getTypeID() == '_wpg' && $i == 0 ) {
260260 list( $title, $text ) = $this->handleResultSubject( $object );
261261 }

Status & tagging log