r89216 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89215‎ | r89216 | r89217 >
Date:14:01, 31 May 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
fixed method name (Bug 29208)
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php
@@ -310,7 +310,7 @@
311311 }
312312
313313 if ( !$issubject ) { // Needed to apply sorting/string matching in query; only with fixed property.
314 - list( $sig, $valueIndex, $labelIndex ) = self::getTypeSignature( $object->getPropertyTypeID() );
 314+ list( $sig, $valueIndex, $labelIndex ) = self::getTypeSignature( $object->findPropertyTypeID() );
315315 $valuecolumn = ( array_key_exists( $valueIndex, $selectvalues ) ) ? $selectvalues[$valueIndex] : '';
316316 $labelcolumn = ( array_key_exists( $labelIndex, $selectvalues ) ) ? $selectvalues[$labelIndex] : '';
317317 $where .= $this->getSQLConditions( $requestoptions, $valuecolumn, $labelcolumn, $where != '' );

Status & tagging log