Bugfix für 1652 - Rabatt falsch bei Rechnung aus Berichtsübersicht und Workflow-Start...
[kivitendo-erp.git] / SL / Auth.pm
index 109b75c..77ea226 100644 (file)
@@ -1095,7 +1095,7 @@ sub assert {
   $::lxdebug->enter_sub(2);
   my ($self, $right, $dont_abort) = @_;
 
-  if ($self->check_right($::form->{login}, $right)) {
+  if ($self->check_right($::myconfig{login}, $right)) {
     $::lxdebug->leave_sub(2);
     return 1;
   }