View | Details | Raw Unified | Return to bug 11747
Collapse All | Expand All

(-)a/tools/overduerules.pl (-4 / +3 lines)
Lines 73-81 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
73
my $type = $input->param('type');
73
my $type = $input->param('type');
74
74
75
my $branch =
75
my $branch =
76
  defined( $input->param('branch') )
76
    defined( $input->param('branch') ) ? $input->param('branch')
77
  ? $input->param('branch')
77
  : GetBranchesCount() == 1            ? undef
78
  : C4::Branch::mybranch();
78
  :                                      C4::Branch::mybranch();
79
$branch = q{} if $branch eq 'NO_LIBRARY_SET';
79
$branch = q{} if $branch eq 'NO_LIBRARY_SET';
80
$branch ||= q{};
80
$branch ||= q{};
81
81
82
- 

Return to bug 11747