From 13b1a1322567521e4ba7a51d2f11aa5b4c24a3b6 Mon Sep 17 00:00:00 2001 From: knut <> Date: Thu, 14 Aug 2008 10:16:47 +0000 Subject: fixed #908 --- framework/I18N/core/MessageSource_gettext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/I18N/core') 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"); } } -?> +?> -- cgit v1.2.3