@@ -, +, @@ --- C4/Koha.pm | 3 +++ 1 file changed, 3 insertions(+) --- a/C4/Koha.pm +++ a/C4/Koha.pm @@ -1257,6 +1257,9 @@ by the passed category and code sub GetAuthorisedValueByCode { my ( $category, $authvalcode, $opac ) = @_; + if (!defined $authvalcode) { + return; + } my $field = $opac ? 'lib_opac' : 'lib'; my $dbh = C4::Context->dbh; --