mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-04 04:32:37 +00:00
d15fda5000
While sorting on data sources with missing fields, a panic can occur in pairList.Less if `Interface()` is called on a invalid `reflect.Value`. This commit detects an invalid Value and replacing it with a zero value for the comparison.