summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ic.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/ic.pl b/bin/ic.pl
index 8cc8f5f5..c1a5b27d 100755
--- a/bin/ic.pl
+++ b/bin/ic.pl
@@ -3013,8 +3013,12 @@ sub save {
$form->{callback} = $callback;
}
- # redirect
- $form->redirect;
+ if ($rc){
+ # redirect
+ $form->redirect("Part Saved");
+ } else {
+ $form->error;
+ }
}