projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bulk checkin from working on the road:
[freeside.git]
/
httemplate
/
edit
/
process
/
msgcat.cgi
diff --git
a/httemplate/edit/process/msgcat.cgi
b/httemplate/edit/process/msgcat.cgi
index
ab30f06
..
1f94f66
100644
(file)
--- 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 } );
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);
my $new = new FS::msgcat { $old->hash };
$new->msg($cgi->param($param));
$error = $new->replace($old);