Index: trunk/extensions/SemanticMediaWiki/includes/SMW_ParseData.php |
— | — | @@ -107,6 +107,7 @@ |
108 | 108 | |
109 | 109 | // See if this property is a special one, such as e.g. "has type". |
110 | 110 | $propertyDv = SMWPropertyValue::makeUserProperty( $propertyName ); |
| 111 | + if ( !$propertyDv->isValid() ) return $propertyDv; |
111 | 112 | $propertyDi = $propertyDv->getDataItem(); |
112 | 113 | $result = SMWDataValueFactory::newPropertyObjectValue( $propertyDi, $value, $caption ); |
113 | 114 | |