diff options
-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})) { |