Lines 76-87
if ($printer){
Link Here
|
76 |
$session->param('branchprinter', $printer); |
76 |
$session->param('branchprinter', $printer); |
77 |
} |
77 |
} |
78 |
|
78 |
|
79 |
if (!C4::Context->userenv && !$branch){ |
79 |
if ( $session->param('branch') eq 'NO_LIBRARY_SET' ) { |
80 |
if ($session->param('branch') eq 'NO_LIBRARY_SET'){ |
80 |
# no branch set we can't issue |
81 |
# no branch set we can't issue |
81 |
print $query->redirect("/cgi-bin/koha/circ/selectbranchprinter.pl"); |
82 |
print $query->redirect("/cgi-bin/koha/circ/selectbranchprinter.pl"); |
82 |
exit; |
83 |
exit; |
|
|
84 |
} |
85 |
} |
83 |
} |
86 |
|
84 |
|
87 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( |
85 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( |
88 |
- |
|
|