Bug 156844 - 'use of uninitialized value in string eq' warning

r=jouni x2
parent c3bcb9fa
......@@ -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});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment