r64911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64910‎ | r64911 | r64912 >
Date:21:35, 10 April 2010
Author:daniel
Status:deferred
Tags:
Comment:
fixe bug in cd /var/www/daniel/wikiword/common
Modified paths:
  • /trunk/WikiWord/WikiWord/src/main/php/common/wwthesaurus.php (modified) (history)

Diff [purge]

Index: trunk/WikiWord/WikiWord/src/main/php/common/wwthesaurus.php
@@ -315,6 +315,11 @@
316316 $buff[] = $row;
317317 }
318318
 319+ if ($buff) {
 320+ $concepts[$id] = $this->buildConcept($buff);
 321+ $buff = array();
 322+ }
 323+
319324 usort($concepts, array('WWThesaurus', 'byScore'));
320325 return $concepts;
321326 }

Status & tagging log