diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 29e21564c8e7b2dd711af2e96e03b811b2c1a268..da474d082c4422ea2def6a7090ac79ed39eb9d47 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
last;
}
}
last;
}
}
- if ($co{'title'} eq "") {
+ if (! defined $co{'title'} || $co{'title'} eq "") {
$co{'title'} = $co{'title_short'} = '(no commit message)';
}
# remove added spaces
$co{'title'} = $co{'title_short'} = '(no commit message)';
}
# remove added spaces