r52786 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52785‎ | r52786 | r52787 >
Date:07:49, 6 July 2009
Author:mkroetzsch
Status:deferred
Tags:
Comment:
fixed Bug 18910
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php
@@ -213,7 +213,7 @@
214214 $this->mSearchlabel = $params['searchlabel'];
215215 }
216216 if (array_key_exists('link', $params)) {
217 - switch (strtolower($params['link'])) {
 217+ switch (strtolower(trim($params['link']))) {
218218 case 'head': case 'subject':
219219 $this->mLinkFirst = true;
220220 $this->mLinkOthers = false;

Status & tagging log