r26449 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26448‎ | r26449 | r26450 >
Date:06:30, 6 October 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
Typo in query answering for categories w/o subcategory reasoning.
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php
@@ -1564,7 +1564,7 @@
15651565 if ($subwhere != '') {
15661566 $subwhere .= ' OR ';
15671567 }
1568 - $subwhere .= '(' . $table . '.cl_to=' . $db->addQuotes($description->getCategories()->getDBKey()) . ')';
 1568+ $subwhere .= '(' . $table . '.cl_to=' . $db->addQuotes($cat->getDBKey()) . ')';
15691569 }
15701570 }
15711571 }

Status & tagging log