summaryrefslogtreecommitdiff
path: root/framework/I18N
diff options
context:
space:
mode:
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");
}
}
-?>
+?>