Lines 54-62
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
54 |
flagsrequired => { coursereserves => 'add_reserves' }, |
54 |
flagsrequired => { coursereserves => 'add_reserves' }, |
55 |
} |
55 |
} |
56 |
); |
56 |
); |
57 |
my $inumber = $itemnumber ? "(blank) (itemnumber:$itemnumber)" : ""; |
57 |
|
58 |
$template->param( ERROR_BARCODE_NOT_FOUND => $barcode . $inumber ) |
58 |
unless ( $item && $action eq 'lookup' ){ |
59 |
unless ( $barcode && !$itemnumber && $item && $action eq 'lookup' ); |
59 |
$template->param( ERROR_ITEM_NOT_FOUND => 1 ); |
|
|
60 |
$template->param( UNKNOWN_BARCODE => $barcode ) if $barcode; |
61 |
} |
60 |
|
62 |
|
61 |
$template->param( course => GetCourse($course_id) ); |
63 |
$template->param( course => GetCourse($course_id) ); |
62 |
|
64 |
|