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

(-)a/offline_circ/enqueue_koc.pl (-3 / +1 lines)
Lines 46-55 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
46
     flagsrequired   => { circulate => "circulate_remaining_permissions" },
46
     flagsrequired   => { circulate => "circulate_remaining_permissions" },
47
});
47
});
48
48
49
50
my $fileID=$query->param('uploadedfileid');
49
my $fileID=$query->param('uploadedfileid');
51
my %cookies = parse CGI::Cookie($cookie);
50
52
my $sessionID = $cookies{'CGISESSID'}->value;
53
## 'Local' globals.
51
## 'Local' globals.
54
our $dbh = C4::Context->dbh();
52
our $dbh = C4::Context->dbh();
55
53
(-)a/offline_circ/process_koc.pl (-1 / +1 lines)
Lines 56-62 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
56
my $fileID=$query->param('uploadedfileid');
56
my $fileID=$query->param('uploadedfileid');
57
my $runinbackground = $query->param('runinbackground');
57
my $runinbackground = $query->param('runinbackground');
58
my $completedJobID = $query->param('completedJobID');
58
my $completedJobID = $query->param('completedJobID');
59
my %cookies = parse CGI::Cookie($cookie);
59
my %cookies = CGI::Cookie->fetch();
60
my $sessionID = $cookies{'CGISESSID'}->value;
60
my $sessionID = $cookies{'CGISESSID'}->value;
61
## 'Local' globals.
61
## 'Local' globals.
62
our $dbh = C4::Context->dbh();
62
our $dbh = C4::Context->dbh();
(-)a/tools/batchMod.pl (-3 lines)
Lines 83-91 $restrictededition = 0 if ($restrictededition != 0 && C4::Context->IsSuperLibrar Link Here
83
my $nextop="";
83
my $nextop="";
84
my $display_items;
84
my $display_items;
85
85
86
my %cookies = parse CGI::Cookie($cookie);
87
my $sessionID = $cookies{'CGISESSID'}->value;
88
89
my @messages;
86
my @messages;
90
87
91
if ( $op eq "action" ) {
88
if ( $op eq "action" ) {
(-)a/tools/manage-marc-import.pl (-1 / +1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
                 flagsrequired => {tools => 'manage_staged_marc'},
54
                 flagsrequired => {tools => 'manage_staged_marc'},
55
                 });
55
                 });
56
56
57
my %cookies = parse CGI::Cookie($cookie);
57
my %cookies = CGI::Cookie->fetch();
58
our $sessionID = $cookies{'CGISESSID'}->value;
58
our $sessionID = $cookies{'CGISESSID'}->value;
59
our $dbh = C4::Context->dbh;
59
our $dbh = C4::Context->dbh;
60
60
(-)a/tools/modborrowers.pl (-2 lines)
Lines 51-58 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
51
51
52
my $logged_in_user = Koha::Patrons->find( $loggedinuser );
52
my $logged_in_user = Koha::Patrons->find( $loggedinuser );
53
53
54
my %cookies   = parse CGI::Cookie($cookie);
55
my $sessionID = $cookies{'CGISESSID'}->value;
56
my $dbh       = C4::Context->dbh;
54
my $dbh       = C4::Context->dbh;
57
55
58
# Show borrower informations
56
# Show borrower informations
(-)a/tools/stage-marc-import.pl (-1 / +1 lines)
Lines 79-85 $template->param( Link Here
79
    booksellerid => $booksellerid,
79
    booksellerid => $booksellerid,
80
);
80
);
81
81
82
my %cookies = parse CGI::Cookie($cookie);
82
my %cookies = CGI::Cookie->fetch();
83
my $sessionID = $cookies{'CGISESSID'}->value;
83
my $sessionID = $cookies{'CGISESSID'}->value;
84
if ($completedJobID) {
84
if ($completedJobID) {
85
    my $job = C4::BackgroundJob->fetch($sessionID, $completedJobID);
85
    my $job = C4::BackgroundJob->fetch($sessionID, $completedJobID);
(-)a/tools/upload-cover-image.pl (-3 lines)
Lines 70-77 my $itemnumber = $input->param('itemnumber'); Link Here
70
my $replace        = !C4::Context->preference("AllowMultipleCovers")
70
my $replace        = !C4::Context->preference("AllowMultipleCovers")
71
  || $input->param('replace');
71
  || $input->param('replace');
72
my $op        = $input->param('op');
72
my $op        = $input->param('op');
73
my %cookies   = parse CGI::Cookie($cookie);
74
my $sessionID = $cookies{'CGISESSID'}->value;
75
73
76
my $error;
74
my $error;
77
75
78
- 

Return to bug 30525