projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b89cda
)
Correction to handle errors processing image file passed in from the patron details...
author
Chris Nighswonger
<cnighswonger@foundations.edu>
Wed, 5 Mar 2008 20:05:47 +0000
(09:05 +1300)
committer
Joshua Ferraro
<jmf@liblime.com>
Thu, 6 Mar 2008 12:25:15 +0000
(06:25 -0600)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
tools/picture-upload.pl
patch
|
blob
|
history
diff --git
a/tools/picture-upload.pl
b/tools/picture-upload.pl
index
849e1e3
..
96e84ea
100755
(executable)
--- a/
tools/picture-upload.pl
+++ b/
tools/picture-upload.pl
@@
-137,7
+137,7
@@
if ( $uploadfile ) {
$template->param(filetype => $filetype );
}
-if ( $borrowernumber ) {
+if ( $borrowernumber
&& !$errors && !$template->param('ERRORS')
) {
my $urlbase = $input->url(-base => 1 -rewrite => 1);
print $input->redirect ("/cgi-bin/koha/members/moremember.pl?borrowernumber=$borrowernumber");
} else {