]> wagnertech.de Git - kivitendo-erp.git/commitdiff
EmailJournal: Typo in Klassennamen gefixt
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 3 Nov 2015 14:14:36 +0000 (15:14 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 3 Nov 2015 14:14:36 +0000 (15:14 +0100)
SL/Controller/EmailJournal.pm

index 3bfc39b96a72bd718a3a8ba58622e54b57728ce1..551214e2519b0299075ad4932367c7eadcb0bf45 100644 (file)
@@ -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.'));
   }