[LON-CAPA-cvs] cvs: loncom /localize lonlocal.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 08 Oct 2003 18:08:16 -0000
www Wed Oct 8 14:08:16 2003 EDT
Modified files:
/loncom/localize lonlocal.pm
Log:
Return 'en' as language if $lh is not defined.
Index: loncom/localize/lonlocal.pm
diff -u loncom/localize/lonlocal.pm:1.20 loncom/localize/lonlocal.pm:1.21
--- loncom/localize/lonlocal.pm:1.20 Wed Oct 8 13:43:37 2003
+++ loncom/localize/lonlocal.pm Wed Oct 8 14:08:16 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Localization routines
#
-# $Id: lonlocal.pm,v 1.20 2003/10/08 17:43:37 albertel Exp $
+# $Id: lonlocal.pm,v 1.21 2003/10/08 18:08:16 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -214,6 +214,7 @@
my $lang=$lh->maketext('language_code');
return ($lang eq 'language_code'?'en':$lang);
}
+ return 'en';
}
# ============================================================== What encoding?