From 59d47caee2ff824bf65ca7c0ea47a2e40cf1cfed Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 21 Mar 2012 11:47:49 +0100 Subject: [PATCH] Bug 7775 - tools/upload-file.pl: scope $uploaded_file for plack --- tools/upload-file.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/upload-file.pl b/tools/upload-file.pl index d520b4d..a27e719 100755 --- a/tools/upload-file.pl +++ b/tools/upload-file.pl @@ -46,7 +46,7 @@ if ($auth_status ne "ok") { exit 0; } -my $uploaded_file = C4::UploadedFile->new($sessionID); +our $uploaded_file = C4::UploadedFile->new($sessionID); unless (defined $uploaded_file) { # FIXME - failed to create file for some reason send_reply('failed', ''); -- 1.7.2.5