Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -649,7 +649,7 @@ |
650 | 650 | } else { |
651 | 651 | $from = $db->tableName( $proptable->name ) . " AS t1"; |
652 | 652 | $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 ) ); |
654 | 654 | |
655 | 655 | if ( $db->numRows( $res ) > 0 ) { |
656 | 656 | $result[] = new SMWDIProperty( $proptable->fixedproperty ); |