]> source.dussan.org Git - gitea.git/commit
Prevent panic when empty MilestoneID in repo/issue/list (#14911)
authorzeripath <art27@cantab.net>
Sun, 7 Mar 2021 02:25:54 +0000 (02:25 +0000)
committerGitHub <noreply@github.com>
Sun, 7 Mar 2021 02:25:54 +0000 (10:25 +0800)
commitbeed5476e2831f7a0943d484873f4f49dfdd256f
tree8563bd478dc66521ac23f814e780af33023dfd49
parent4ba8572361f7d8067efd6b0ce36c259eac6c5b4d
Prevent panic when empty MilestoneID in repo/issue/list (#14911)

This PR adds a simple check to only test the MilestoneID if it is not empty.

Fix #14906

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
templates/repo/issue/list.tmpl