first major round of EMS changes. much more to come late tonight.
This commit is contained in:
parent
f3404c319a
commit
2c60283ba3
27 changed files with 5196 additions and 33 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue