summaryrefslogtreecommitdiff
path: root/framework/I18N/TNumberFormat.php
diff options
context:
space:
mode:
authorxue <>2006-04-16 14:43:51 +0000
committerxue <>2006-04-16 14:43:51 +0000
commit2983057ad91ccdef1fef86a85fe8e888350c3384 (patch)
tree6eb89e44b6d141d69779f8b2a26d18aeec641ee0 /framework/I18N/TNumberFormat.php
parenteeb97a9e51e87a359c2c069fc64b04b80d9ebe95 (diff)
Fixed a few issues with using Globalization.
Diffstat (limited to 'framework/I18N/TNumberFormat.php')
-rw-r--r--framework/I18N/TNumberFormat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/TNumberFormat.php b/framework/I18N/TNumberFormat.php
index 4dc1e3ee..76373a8e 100644
--- a/framework/I18N/TNumberFormat.php
+++ b/framework/I18N/TNumberFormat.php
@@ -166,7 +166,7 @@ class TNumberFormat extends TI18NControl
*/
protected function getFormattedValue()
{
- $app = $this->Application->getGlobalization();
+ $app = $this->getApplication()->getGlobalization();
//initialized the default class wide formatter
if(is_null(self::$formatter))
self::$formatter = new NumberFormat($app->getCulture());