From: terry%mozilla.org <> Date: Thu, 17 Feb 2000 23:11:37 +0000 (+0000) Subject: Ignore leading and trailing whitespace when trying to decide if X-Git-Tag: bugzilla-2.12~381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cfed124521e14e14cda1f8f544874f197f1af38;p=thirdparty%2Fbugzilla.git Ignore leading and trailing whitespace when trying to decide if someone changed something. --- diff --git a/process_bug.cgi b/process_bug.cgi index 8ddd2632b0..1e25ef8612 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; }