r90201 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90200‎ | r90201 | r90202 >
Date:13:55, 16 June 2011
Author:reedy
Status:deferred
Tags:
Comment:
Fix wrong fname hardcoding
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php
@@ -649,7 +649,7 @@
650650 } else {
651651 $from = $db->tableName( $proptable->name ) . " AS t1";
652652 $this->prepareValueQuery( $from, $where, $proptable, $value, 1 );
653 - $res = $db->select( $from, '*', $where, 'SMW::getProperties', array( 'LIMIT' => 1 ) );
 653+ $res = $db->select( $from, '*', $where, 'SMW::getInProperties', array( 'LIMIT' => 1 ) );
654654
655655 if ( $db->numRows( $res ) > 0 ) {
656656 $result[] = new SMWDIProperty( $proptable->fixedproperty );