View | Details | Raw Unified | Return to bug 20479
Collapse All | Expand All

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 204-210 sub get_template_and_user { Link Here
204
                $in->{template_name} =~ m|sco/| && haspermission(
204
                $in->{template_name} =~ m|sco/| && haspermission(
205
                    $user, { self_check => 'self_checkout_module' }
205
                    $user, { self_check => 'self_checkout_module' }
206
                )
206
                )
207
            ) && Koha::Patrons->find({userid=>$user})->flags != 1
207
            ) && Koha::Patrons->find({userid=>$user}) && Koha::Patrons->find({userid=>$user})->flags != 1
208
          )
208
          )
209
        {
209
        {
210
            $kick_out = 1;
210
            $kick_out = 1;
211
- 

Return to bug 20479