r24148 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24147‎ | r24148 | r24149 >
Date:07:28, 16 July 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
some attempted fixes to Jörg's code :-/
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php
@@ -83,6 +83,7 @@
8484 $valueindex = 0;
8585 // less values specified -> test for closest matchings
8686 for ($i = 0; $i < sizeof($types); $i++) {
 87+ $this->m_values[$i] = SMWDataValueFactory::newTypeObjectValue($types[$i]);
8788 // check if enough slots available -> if not set isValid to false...
8889 if ((sizeof($values)-$valueindex) > ((sizeof($types)-$i))) {
8990 $this->isValid = false;

Status & tagging log