r23124 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23123‎ | r23124 | r23125 >
Date:12:03, 20 June 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
fixed typo
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php
@@ -299,7 +299,8 @@
300300
301301 public function getQueryString() {
302302 $result = '';
303 - // TODO: this is not quite correct ... (many disjunctions have || abbreviations)
 303+ // TODO: this is not correct ... (many disjunctions have || abbreviations, OR does not work yet)
 304+ $first = true;
304305 foreach ($this->m_descriptions as $desc) {
305306 if ($first) {
306307 $first = false;
@@ -308,7 +309,7 @@
309310 }
310311 $result .= $desc->getQueryString();
311312 }
312 - return $result;
 313+ return '(' . $result . ')';
313314 }
314315 }
315316

Status & tagging log