r43607 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43606‎ | r43607 | r43608 >
Date:16:48, 17 November 2008
Author:mkroetzsch
Status:deferred
Tags:
Comment:
init pre-defined properties when creating from internal ID
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Property.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Property.php
@@ -111,6 +111,7 @@
112112 */
113113 protected function unstub() {
114114 if (is_array($this->m_stubdata)) {
 115+ SMWPropertyValue::initProperties();
115116 if ($this->m_stubdata[0]{0} == '_') { // internal id, use as is (and hope it is still known)
116117 $this->m_propertyid = $this->m_stubdata[0];
117118 } else { // possibly name of special property

Status & tagging log