Revision 8a43a317
Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt
SL/Controller/EmailJournal.pm | ||
---|---|---|
43 | 43 |
|
44 | 44 |
$self->entry(SL::DB::EmailJournal->new(id => $::form->{id})->load); |
45 | 45 |
|
46 |
if (!$self->can_view_all && ($self->entry->sender_id != SL::DB::Manager::Emplyee->current->id)) { |
|
46 |
if (!$self->can_view_all && ($self->entry->sender_id != SL::DB::Manager::Employee->current->id)) {
|
|
47 | 47 |
$::form->error(t8('You do not have permission to access this entry.')); |
48 | 48 |
} |
49 | 49 |
|
... | ... | |
57 | 57 |
|
58 | 58 |
my $attachment = SL::DB::EmailJournalAttachment->new(id => $::form->{id})->load; |
59 | 59 |
|
60 |
if (!$self->can_view_all && ($attachment->email_journal->sender_id != SL::DB::Manager::Emplyee->current->id)) { |
|
60 |
if (!$self->can_view_all && ($attachment->email_journal->sender_id != SL::DB::Manager::Employee->current->id)) {
|
|
61 | 61 |
$::form->error(t8('You do not have permission to access this entry.')); |
62 | 62 |
} |
63 | 63 |
|
Auch abrufbar als: Unified diff
EmailJournal: Typo in Klassennamen gefixt