Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DT_Float.php |
— | — | @@ -3,6 +3,8 @@ |
4 | 4 | * This file contains the basic float type and unit conversion methods. |
5 | 5 | */ |
6 | 6 | |
| 7 | +global $smwgContLang; |
| 8 | + |
7 | 9 | /** |
8 | 10 | * Class for managing floating point types. Parses floating point |
9 | 11 | * number strings, supports unit conversion in subclasses, and |
— | — | @@ -349,7 +351,6 @@ |
350 | 352 | |
351 | 353 | } // End SMWFloatTypeHandler} |
352 | 354 | |
353 | | - |
354 | 355 | SMWTypeHandlerFactory::registerTypeHandler($smwgContLang->getDatatypeLabel('smw_float'), |
355 | 356 | new SMWFloatTypeHandler()); |
356 | 357 | |