Diff for /loncom/localize/lonlocal.pm between versions 1.19 and 1.20

version 1.19, 2003/10/04 20:49:40 version 1.20, 2003/10/08 17:43:37
Line 210  sub mt (@) { Line 210  sub mt (@) {
 # ============================================================== What language?  # ============================================================== What language?
   
 sub current_language {  sub current_language {
     my $lang=$lh->maketext('language_code');      if ($lh) {
     return ($lang eq 'language_code'?'en':$lang);   my $lang=$lh->maketext('language_code');
    return ($lang eq 'language_code'?'en':$lang);
       }
 }  }
   
 # ============================================================== What encoding?  # ============================================================== What encoding?

Removed from v.1.19  
changed lines
  Added in v.1.20


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>