summaryrefslogtreecommitdiff
path: root/framework/I18N
diff options
context:
space:
mode:
authorknut <>2008-08-14 10:16:47 +0000
committerknut <>2008-08-14 10:16:47 +0000
commit13b1a1322567521e4ba7a51d2f11aa5b4c24a3b6 (patch)
treebd460102f678c6b727ea2f357ffb9d899f9322aa /framework/I18N
parent9b940a6b86bf661eb66ad5752ecde1ec7a6358a8 (diff)
fixed #908
Diffstat (limited to 'framework/I18N')
-rw-r--r--framework/I18N/core/MessageSource_gettext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/core/MessageSource_gettext.php b/framework/I18N/core/MessageSource_gettext.php
index dfcce621..5428e32b 100644
--- a/framework/I18N/core/MessageSource_gettext.php
+++ b/framework/I18N/core/MessageSource_gettext.php
@@ -450,8 +450,8 @@ class MessageSource_gettext extends MessageSource
if($po->save() && $mo->save($mo_file))
return array($variant, $mo_file, $po_file);
else
- throw TException("Unable to create file $po_file and $mo_file");
+ throw new TException("Unable to create file $po_file and $mo_file");
}
}
-?>
+?>