first major round of EMS changes. much more to come late tonight.

This commit is contained in:
Matthew Wilson 2006-04-07 00:02:45 +00:00
parent f3404c319a
commit 2c60283ba3
27 changed files with 5196 additions and 33 deletions

View file

@ -87,7 +87,7 @@ sub get {
my $output = eval($cmd);
$self->session->errorHandler->warn("Couldn't get value from ".$cmd." because ".$@) if ($@);
$output = $self->get($id,$namespace,"English") if ($output eq "" && $language ne "English");
return $output;
return $output || $id;
}
@ -210,7 +210,7 @@ sub new {
bless( {
_session => $session,
_namespace => $namespace,
_language => $language,
_language => ($language || $session->user->profileField('language')),
},$class);
}