the sub otype() is always the one defined in the class we instantiated,
but $self->{otype} is set at creation and does not work if we do not set
it in the 'new' sub of the object (for example in ContentTypeFilter.pm)
so now we get the correct otype from the current class
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
$data->{id} = $self->{id};
$data->{ogroup} = $self->{ogroup};
- $data->{otype} = $self->{otype};
+ $data->{otype} = $self->otype();
$data->{otype_text} = $self->otype_text();
$data->{receivertest} = $self->receivertest();
$data->{descr} = $self->short_desc();