Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php |
— | — | @@ -137,7 +137,7 @@ |
138 | 138 | // get distance to search for location-based queries |
139 | 139 | if ( array_key_exists('distance', $params) ) { |
140 | 140 | $distance = trim($params['distance']); |
141 | | - self::setQueryDistance( $distance, &$query ); |
| 141 | + self::setQueryDistance( $distance, $query ); |
142 | 142 | } |
143 | 143 | |
144 | 144 | if ( array_key_exists('sort', $params) ) { |