X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/46c22b437926dec7e87ab5bb24dfb6a2c6124692..653c3764139968b7829edab20fa641f5571ee925:/SL/Controller/Part.pm?ds=sidebyside 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 {