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