Bugzilla – Attachment 12503 Details for
Bug 7643
Can't upload and import zipped file of patron images
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-Bug-7643-Can-t-upload-and-import-zipped-file-of-patr.patch (text/plain), 954 bytes, created by
Ivan Brown
on 2012-09-25 15:16:50 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Ivan Brown
Created:
2012-09-25 15:16:50 UTC
Size:
954 bytes
patch
obsolete
>From 31917a6c6ef79d6933d9484df4c0603d9df891b6 Mon Sep 17 00:00:00 2001 >From: Ivan Brown <I.Brown@littleover.derby.sch.uk> >Date: Tue, 25 Sep 2012 15:57:43 +0100 >Subject: [PATCH] Bug 7643 - Can't upload and import zipped file of patron images > >Fixed problem with re-declaration of $filesuffix >--- > tools/picture-upload.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl >index bfb233e..4507fa1 100755 >--- a/tools/picture-upload.pl >+++ b/tools/picture-upload.pl >@@ -80,7 +80,7 @@ if ( ($op eq 'Upload') && $uploadfile ) { # Case is important in these ope > $debug and warn "dirname = $dirname"; > my $filesuffix; > if ( $uploadfilename =~ m/(\..+)$/i ) { >- my $filesuffix = $1; >+ $filesuffix = $1; > } > ( $tfh, $tempfile ) = File::Temp::tempfile( SUFFIX => $filesuffix, UNLINK => 1 ); > $debug and warn "tempfile = $tempfile"; >-- >1.7.11.msysgit.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7643
:
12503
|
12577