summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprocess_bug.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 6755ce91c..b8c0c5815 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -273,6 +273,12 @@ foreach my $id (@idlist) {
foreach my $col (@::log_columns) {
my $old = shift @oldvalues;
my $new = shift @newvalues;
+ if (!defined $old) {
+ $old = "";
+ }
+ if (!defined $new) {
+ $new = "";
+ }
if ($old ne $new) {
if (!defined $whoid) {
$whoid = DBNameToIdAndCheck($::FORM{'who'});