summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-02-18 00:11:37 +0100
committerterry%mozilla.org <>2000-02-18 00:11:37 +0100
commit2cfed124521e14e14cda1f8f544874f197f1af38 (patch)
tree1819c2489b0fa02929e203f01361d5720ea47d34 /process_bug.cgi
parent95cc6f9bd56c804bc4c0208da1b01a5b89359733 (diff)
downloadbugzilla-2cfed124521e14e14cda1f8f544874f197f1af38.tar.gz
bugzilla-2cfed124521e14e14cda1f8f544874f197f1af38.tar.xz
Ignore leading and trailing whitespace when trying to decide if
someone changed something.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 8ddd2632b..1e25ef861 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -129,6 +129,9 @@ sub CheckCanChangeField {
if ($oldvalue eq $newvalue) {
return 1;
}
+ if (trim($oldvalue) eq trim($newvalue)) {
+ return 1;
+ }
if ($f =~ /^longdesc/) {
return 1;
}