Index: trunk/extensions/SemanticDrilldown/includes/SD_GlobalFunctions.php |
— | — | @@ -316,7 +316,7 @@ |
317 | 317 | // make sure alias doesn't match actual property name - this |
318 | 318 | // is an issue for English, since the English-language values |
319 | 319 | // are used for aliases |
320 | | - if ($alias != $property && $cur_prop == $prop) { |
| 320 | + if (($alias != $property) && (! $prop instanceof Title) && ($cur_prop == $prop)) { |
321 | 321 | $prop = sdfCreateProperty($alias, SMW_NS_PROPERTY); |
322 | 322 | $prop_vals = $store->getPropertyValues($subject_title, $prop); |
323 | 323 | foreach ($prop_vals as $prop_val) { |