]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
Opps... :(
[core.git] / 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