]> git.mxchange.org Git - core.git/commitdiff
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 08f63abc3ff49c2b2701642603cc5fddc53fce0b..f07ba33bc3f0ebe8e5e6c47a010cab8457fc315a 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