projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kundenstammdaten: Nachnamensfeld eindeutiger beschriftet
[kivitendo-erp.git]
/
SL
/
Controller
/
EmailJournal.pm
diff --git
a/SL/Controller/EmailJournal.pm
b/SL/Controller/EmailJournal.pm
index
3bfc39b
..
551214e
100644
(file)
--- 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);
$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::Empl
o
yee->current->id)) {
$::form->error(t8('You do not have permission to access this entry.'));
}
$::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;
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::Empl
o
yee->current->id)) {
$::form->error(t8('You do not have permission to access this entry.'));
}
$::form->error(t8('You do not have permission to access this entry.'));
}