Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php |
— | — | @@ -213,7 +213,7 @@ |
214 | 214 | $this->mSearchlabel = $params['searchlabel']; |
215 | 215 | } |
216 | 216 | if (array_key_exists('link', $params)) { |
217 | | - switch (strtolower($params['link'])) { |
| 217 | + switch (strtolower(trim($params['link']))) { |
218 | 218 | case 'head': case 'subject': |
219 | 219 | $this->mLinkFirst = true; |
220 | 220 | $this->mLinkOthers = false; |