Bugzilla – Attachment 11009 Details for
Bug 8130
attach PDF files to a patron record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8130: [SIGNED-OFF] Followup - Empty file upload error never displays.
Bug-8130-SIGNED-OFF-Followup---Empty-file-upload-e.patch (text/plain), 971 bytes, created by
Jonathan Druart
on 2012-07-19 13:13:22 UTC
(
hide
)
Description:
Bug 8130: [SIGNED-OFF] Followup - Empty file upload error never displays.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-07-19 13:13:22 UTC
Size:
971 bytes
patch
obsolete
>From 463c086f3d3d78842f895d6fded2ff37fdb626c6 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 19 Jul 2012 08:41:39 -0400 >Subject: [PATCH] Bug 8130: [SIGNED-OFF] Followup - Empty file upload error > never displays. > >http://bugs.koha-community.org/show_bug.cgi?id=8130 >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > members/files.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/members/files.pl b/members/files.pl >index ca16b45..f011c77 100755 >--- a/members/files.pl >+++ b/members/files.pl >@@ -73,7 +73,7 @@ else { > my $filename = $cgi->param('uploadfile'); > my $mimetype = $cgi->uploadInfo($filename)->{'Content-Type'}; > >- $errors{'empty_upload'} = 1 unless ( length($uploaded_file) > 0 ); >+ $errors{'empty_upload'} = 1 if ( -z $uploaded_file ); > > if (%errors) { > $template->param( errors => %errors ); >-- >1.7.7.3
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 8130
:
9684
|
9685
|
9858
|
10147
|
10173
|
10176
|
10177
|
10185
|
10312
|
10419
|
10757
|
11001
|
11003
|
11006
|
11007
|
11008
| 11009 |
11010