@@ -, +, @@ user --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -204,7 +204,7 @@ sub get_template_and_user { $in->{template_name} =~ m|sco/| && haspermission( $user, { self_check => 'self_checkout_module' } ) - ) && Koha::Patrons->find({userid=>$user})->flags != 1 + ) && Koha::Patrons->find({userid=>$user}) && Koha::Patrons->find({userid=>$user})->flags != 1 ) { $kick_out = 1; --