From: Moritz Bunkus Date: Tue, 3 Nov 2015 14:14:36 +0000 (+0100) Subject: EmailJournal: Typo in Klassennamen gefixt X-Git-Tag: release-3.4.1~599 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8a43a3175d876387cc6cb28be469d5427789ca2a;p=kivitendo-erp.git EmailJournal: Typo in Klassennamen gefixt --- diff --git a/SL/Controller/EmailJournal.pm b/SL/Controller/EmailJournal.pm index 3bfc39b96..551214e25 100644 --- a/SL/Controller/EmailJournal.pm +++ b/SL/Controller/EmailJournal.pm @@ -43,7 +43,7 @@ sub action_show { $self->entry(SL::DB::EmailJournal->new(id => $::form->{id})->load); - if (!$self->can_view_all && ($self->entry->sender_id != SL::DB::Manager::Emplyee->current->id)) { + if (!$self->can_view_all && ($self->entry->sender_id != SL::DB::Manager::Employee->current->id)) { $::form->error(t8('You do not have permission to access this entry.')); } @@ -57,7 +57,7 @@ sub action_download_attachment { my $attachment = SL::DB::EmailJournalAttachment->new(id => $::form->{id})->load; - if (!$self->can_view_all && ($attachment->email_journal->sender_id != SL::DB::Manager::Emplyee->current->id)) { + if (!$self->can_view_all && ($attachment->email_journal->sender_id != SL::DB::Manager::Employee->current->id)) { $::form->error(t8('You do not have permission to access this entry.')); }