Merge branch 'jc/maint-name-hash-clear' into maint
[gitweb.git] / gitweb / gitweb.perl
index 90cd99bf916135e5c0a9e1bd7d5e9ff45555c489..269f1125d9442cb4e0eaecb9069af1d32b4d947b 100755 (executable)
@@ -2092,7 +2092,7 @@ sub parse_commit_text {
                        last;
                }
        }
-       if ($co{'title'} eq "") {
+       if (! defined $co{'title'} || $co{'title'} eq "") {
                $co{'title'} = $co{'title_short'} = '(no commit message)';
        }
        # remove added spaces