Skip to content

Commit

Permalink
Correction d'un bug pour les chiffres significatifs (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminbertin committed Feb 20, 2014
1 parent 004d5a5 commit 89c7d36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ protected function _initI18n()
{
$locale = Core_Locale::loadDefault();
$configuration = Zend_Registry::get('configuration');
Core_Locale::$minSignificantFigures = $configuration->locale->minSignificantFigures;
if ($configuration->locale !== null) {
Core_Locale::$minSignificantFigures = $configuration->locale->minSignificantFigures;
}

Zend_Registry::set(Core_Locale::registryKey, $locale);

Expand Down

0 comments on commit 89c7d36

Please sign in to comment.