@@ -, +, @@ having an item --- course_reserves/add_items.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/course_reserves/add_items.pl +++ a/course_reserves/add_items.pl @@ -56,7 +56,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( } ); -unless ( $item && $action eq 'lookup' ){ +if ( !$item && $action eq 'lookup' ){ $template->param( ERROR_ITEM_NOT_FOUND => 1 ); $template->param( UNKNOWN_BARCODE => $barcode ) if $barcode; } --