X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/850cb6b4b723772a97e5bb385a57723cd52432f3..67814d7d3ae60f48c7f970474de7b102e93639a2:/SL/Controller/Part.pm diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index d27304029..f152e0844 100644 --- a/SL/Controller/Part.pm +++ b/SL/Controller/Part.pm @@ -813,7 +813,7 @@ sub init_part { sub init_orphaned { my ($self) = @_; - return $::auth->assert('assembly_edit', 1) // $self->part->orphaned; + return $self->part->orphaned; } sub init_models {