diff options
author | terry%mozilla.org <> | 2000-02-17 23:11:37 +0000 |
---|---|---|
committer | terry%mozilla.org <> | 2000-02-17 23:11:37 +0000 |
commit | 2cfed124521e14e14cda1f8f544874f197f1af38 (patch) | |
tree | 1819c2489b0fa02929e203f01361d5720ea47d34 | |
parent | 95cc6f9bd56c804bc4c0208da1b01a5b89359733 (diff) | |
download | bugs-2cfed124521e14e14cda1f8f544874f197f1af38.tar bugs-2cfed124521e14e14cda1f8f544874f197f1af38.tar.gz bugs-2cfed124521e14e14cda1f8f544874f197f1af38.tar.bz2 bugs-2cfed124521e14e14cda1f8f544874f197f1af38.tar.xz bugs-2cfed124521e14e14cda1f8f544874f197f1af38.zip |
Ignore leading and trailing whitespace when trying to decide if
someone changed something.
-rwxr-xr-x | process_bug.cgi | 3 |
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; } |