projects
/
scpubgit/stemmaweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f6bfb76
)
bugfix for xml upload parsing
Tara L Andrews [Mon, 17 Sep 2012 13:21:56 +0000 (15:21 +0200)]
lib/stemmaweb/Controller/Root.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/stemmaweb/Controller/Root.pm
b/lib/stemmaweb/Controller/Root.pm
index
4d42c28
..
4ddcfe6
100644
(file)
--- a/
lib/stemmaweb/Controller/Root.pm
+++ b/
lib/stemmaweb/Controller/Root.pm
@@
-130,7
+130,10
@@
sub newtradition :Local :Args(0) {
} catch {
$errmsg = "Unexpected parsing error";
}
- last if $tradition;
+ if( $tradition ) {
+ $errmsg = undef;
+ last;
+ }
}
} elsif( $ext =~ /^(txt|csv|xls(x)?)$/ ) {
# If it's Excel we need to pass excel => $ext;