summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/edit/process/elements/process.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html
index eba03041c..69bd605f6 100644
--- a/httemplate/edit/process/elements/process.html
+++ b/httemplate/edit/process/elements/process.html
@@ -315,7 +315,7 @@ foreach my $value ( @values ) {
warn "$me processing m2m:\n". Dumper( %$process_m2m )
if $opt{'debug'};
- $error = $new->process_m2m( %$process_m2m );
+ $error ||= $new->process_m2m( %$process_m2m );
}
}
@@ -357,7 +357,7 @@ foreach my $value ( @values ) {
);
}
- $error = $new->process_o2m( %{ $process_o2m },
+ $error ||= $new->process_o2m( %{ $process_o2m },
'params' => scalar($cgi->Vars),
);
}