Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -205,7 +205,7 @@ |
206 | 206 | |
207 | 207 | foreach ( $data as $dbkeys ) { |
208 | 208 | try { |
209 | | - $result[] = SMWDataValueFactory::newTypeIdItem( $property->findPropertyTypeID(), $dbkeys ); |
| 209 | + $result[] = SMWCompatibilityHelpers::dataItemFromDBKeys( $property->findPropertyTypeID(), $dbkeys ); |
210 | 210 | } catch ( SMWDataItemException $e ) { |
211 | 211 | // maybe some type assignment changed since the data was stored; |
212 | 212 | // don't worry, but we can ony drop the data here |