Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DT_Float.php |
— | — | @@ -373,7 +373,7 @@ |
374 | 374 | * values stored in the database (where the typeid is used). |
375 | 375 | */ |
376 | 376 | function SMWLinearTypeHandler($typeid, $conversions = NULL) { |
377 | | - $this->typeid = $typeid; |
| 377 | + $this->typeid = str_replace(' ', '_', $typeid); |
378 | 378 | if ($conversions !== NULL) { |
379 | 379 | $this->parseConversionFactors($conversions); |
380 | 380 | } |