finally, the last of this round of syntax fixes.
This commit is contained in:
parent
83e071fde1
commit
128f265678
24 changed files with 194 additions and 164 deletions
|
|
@ -51,6 +51,7 @@ where users.userId=?";
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub _fetchDepartments {
|
||||
my $self = shift;
|
||||
return $self->session->db->buildArray("select fieldData from userProfileData where fieldName='department' GROUP by fieldData");
|
||||
}
|
||||
|
||||
|
|
@ -404,7 +405,7 @@ sub www_viewReport {
|
|||
-value=>$endDate
|
||||
);
|
||||
my %depHash;
|
||||
%depHash = map { $_ => $_ } (_fetchDepartments(),
|
||||
%depHash = map { $_ => $_ } ($self->_fetchDepartments(),
|
||||
$i18n->get('all departments'));
|
||||
my $defaultDepartment = $self->session->form->process("selectDepartment")
|
||||
|| $i18n->get('all departments');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue