Opps... :(
authorRoland Häder <roland@mxchange.org>
Sat, 22 Aug 2009 00:45:28 +0000 (00:45 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 22 Aug 2009 00:45:28 +0000 (00:45 +0000)
inc/classes/main/class_BaseFrameworkSystem.php

index 08f63ab..f07ba33 100644 (file)
@@ -922,11 +922,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                // Generate it from config and localize depencies
                switch ($this->getLanguageInstance()->getLanguageCode()) {
                        case 'de': // German format is a bit different to default
-                               $localized = number_format($value, $this->getConfigInstance()->readConfig('decimals'), ',', '.');
+                               $localized = number_format($value, $this->getConfigInstance()->getConfigEntry('decimals'), ',', '.');
                                break;
 
                        default: // US, etc.
-                               $localized = number_format($value, $this->getConfigInstance()->readConfig('decimals'), '.', ',');
+                               $localized = number_format($value, $this->getConfigInstance()->getConfigEntry('decimals'), '.', ',');
                                break;
                } // END - switch