summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/msgcat.cgi
diff options
context:
space:
mode:
authorivan <ivan>2002-04-10 13:42:49 +0000
committerivan <ivan>2002-04-10 13:42:49 +0000
commit0b65ce59c7d2ee712389c27954382274ddf718a5 (patch)
treeed8d8fb079faf656fe93e5f68d98e095500c03ef /httemplate/edit/process/msgcat.cgi
parentfd597aef277c522889a849d78dc7dcae67d00d95 (diff)
bulk checkin from working on the road:
- use msgcat for more error messages - should be all things that would come3 back from the signup server normally now - signup server: don't display access number <SELECT> if there's none or one - signup_server-realtime config option to run billing for signup server signups immediately - signup server: pkg available to success templates, better documentation on success templates - httemplate/edit/msgcat.cgi fields are properly sticky on errors - httemplate/edit/process/msgcat.cgi - don't update identical fields
Diffstat (limited to 'httemplate/edit/process/msgcat.cgi')
-rw-r--r--httemplate/edit/process/msgcat.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/edit/process/msgcat.cgi b/httemplate/edit/process/msgcat.cgi
index ab30f06b5..1f94f6668 100644
--- a/httemplate/edit/process/msgcat.cgi
+++ b/httemplate/edit/process/msgcat.cgi
@@ -3,6 +3,7 @@
my $error;
foreach my $param ( grep { /^\d+$/ } $cgi->param ) {
my $old = qsearchs('msgcat', { msgnum=>$param } );
+ next if $old->msg eq $cgi->param($param); #no need to update identical records
my $new = new FS::msgcat { $old->hash };
$new->msg($cgi->param($param));
$error = $new->replace($old);