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

(-)a/tools/overduerules.pl (-11 / +17 lines)
Lines 58-77 sub blank_row { Link Here
58
    return 1;
58
    return 1;
59
}
59
}
60
60
61
my $type=$input->param('type');
61
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
62
my $branch = $input->param('branch');
62
    {
63
        template_name   => "tools/overduerules.tmpl",
64
        query           => $input,
65
        type            => "intranet",
66
        authnotrequired => 0,
67
        flagsrequired   => { tools => 'edit_notice_status_triggers' },
68
        debug           => 1,
69
    }
70
);
71
72
my $type = $input->param('type');
73
my $branch =
74
  defined( $input->param('branch') )
75
  ? $input->param('branch')
76
  : C4::Branch::mybranch();
77
$branch = q{} if $branch eq 'NO_LIBRARY_SET';
63
$branch ||= q{};
78
$branch ||= q{};
64
my $op = $input->param('op');
79
my $op = $input->param('op');
65
$op ||= q{};
80
$op ||= q{};
66
81
67
my ($template, $loggedinuser, $cookie)
68
    = get_template_and_user({template_name => "tools/overduerules.tmpl",
69
                            query => $input,
70
                            type => "intranet",
71
                            authnotrequired => 0,
72
                            flagsrequired => { tools => 'edit_notice_status_triggers'},
73
                            debug => 1,
74
                            });
75
my $err=0;
82
my $err=0;
76
83
77
# save the values entered into tables
84
# save the values entered into tables
78
- 

Return to bug 11747