Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php |
— | — | @@ -83,6 +83,7 @@ |
84 | 84 | $valueindex = 0; |
85 | 85 | // less values specified -> test for closest matchings |
86 | 86 | for ($i = 0; $i < sizeof($types); $i++) { |
| 87 | + $this->m_values[$i] = SMWDataValueFactory::newTypeObjectValue($types[$i]); |
87 | 88 | // check if enough slots available -> if not set isValid to false... |
88 | 89 | if ((sizeof($values)-$valueindex) > ((sizeof($types)-$i))) { |
89 | 90 | $this->isValid = false; |