@@ -, +, @@ return ($userenv->{flags}//0) % 2; --------- -- This should fail tests 7 and 8 -- All tests should succeed --- C4/Context.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Context.pm +++ a/C4/Context.pm @@ -1247,7 +1247,7 @@ sub IsSuperLibrarian { return 1; } - return $userenv->{flags} % 2; + return ($userenv->{flags}//0) % 2; } 1; --