Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -306,9 +306,7 @@ |
307 | 307 | * @return array |
308 | 308 | */ |
309 | 309 | public final function getResult( SMWQueryResult $results, array $params, $outputmode ) { |
310 | | - // Skip checks, results with 0 entries are normal. |
311 | | - $this->readParameters( $params, $outputmode ); |
312 | | - |
| 310 | + $this->handleParameters( $params, $outputmode ); |
313 | 311 | return $this->getResultText( $results, SMW_OUTPUT_HTML ); |
314 | 312 | } |
315 | 313 | |
Index: trunk/extensions/SemanticMaps/includes/SM_GeoCoordsHooks.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | if ( $format === false ) { |
34 | 34 | // Only apply when there is more then one print request. |
35 | 35 | // This way requests comming from #show are ignored. |
36 | | - if ( count( $printRequests ) > 0 ) { |
| 36 | + if ( count( $printRequests ) > 1 ) { |
37 | 37 | $allValid = true; |
38 | 38 | $hasCoords = false; |
39 | 39 | |