projects
/
scpubgit/stemmaweb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
bugfix for xml upload parsing
[scpubgit/stemmaweb.git]
/
lib
/
stemmaweb
/
Controller
/
Root.pm
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;