diff options
author | bbaetz%student.usyd.edu.au <> | 2002-07-11 20:46:08 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-07-11 20:46:08 +0200 |
commit | bcf9625d073867b46db5eaa83f8d2a1f395cbe65 (patch) | |
tree | 3c1832425c4b86f963aab9eafa7ed4bbd340cfb3 /process_bug.cgi | |
parent | c3bcb9fa74e6409649fe8ea38b6da918ccf807fd (diff) | |
download | bugzilla-bcf9625d073867b46db5eaa83f8d2a1f395cbe65.tar.gz bugzilla-bcf9625d073867b46db5eaa83f8d2a1f395cbe65.tar.xz |
Bug 156844 - 'use of uninitialized value in string eq' warning
r=jouni x2
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index afed412a3..f061d4455 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -930,6 +930,8 @@ foreach my $id (@idlist) { my %oldhash; my $i = 0; foreach my $col (@::log_columns) { + # Consider NULL db entries to be equivalent to the empty string + $oldvalues[$i] ||= ''; $oldhash{$col} = $oldvalues[$i]; if (exists $::FORM{$col}) { CheckCanChangeField($col, $id, $oldvalues[$i], $::FORM{$col}); |