Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Property.php |
— | — | @@ -235,7 +235,7 @@ |
236 | 236 | * @return string |
237 | 237 | */ |
238 | 238 | public function getPropertyTypeID() { |
239 | | - if ( !$this->isValid() ) { |
| 239 | + if ( $this->isValid() ) { |
240 | 240 | return $this->m_dataitem->findPropertyTypeId(); |
241 | 241 | } else { |
242 | 242 | return '__err'; |