summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi2
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});