diff options
author | jocuri%softhome.net <> | 2003-11-07 17:05:01 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2003-11-07 17:05:01 +0100 |
commit | 987fd76c89d1e6c025f1e6923c4343f8d7dbf238 (patch) | |
tree | ce3fbbea4346588e93eba6a91ed7cee0b6090965 /process_bug.cgi | |
parent | 5ea2e6bed5b9550a3e6e6959f06869a549ee0f43 (diff) | |
download | bugzilla-987fd76c89d1e6c025f1e6923c4343f8d7dbf238.tar.gz bugzilla-987fd76c89d1e6c025f1e6923c4343f8d7dbf238.tar.xz |
Bug 219475: The check for null db entries in process_bug.cgi is wrong; patch by Chuck Duvall <caduvall@glue.umd.edu>; r=bbaetz; a=justdave.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index ffad17b70..4fd9cc746 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1120,7 +1120,7 @@ foreach my $id (@idlist) { my $i = 0; foreach my $col (@::log_columns) { # Consider NULL db entries to be equivalent to the empty string - $oldvalues[$i] ||= ''; + $oldvalues[$i] = '' unless defined($oldvalues[$i]); $oldhash{$col} = $oldvalues[$i]; if (exists $::FORM{$col}) { if (!CheckCanChangeField($col, $id, $oldvalues[$i], $::FORM{$col})) { |