fix groupSegmentWithTrailingSlash to return an empty string if gid <= 0

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2026-04-02 20:01:01 -04:00
parent 79bc3997fe
commit 4566939671
+3
View File
@@ -681,6 +681,9 @@ func getGroupSegment(gid int64) string {
}
func groupSegmentWithTrailingSlash(gid int64) string {
if gid < 1 {
return ""
}
return getGroupSegment(gid) + "/"
}