коммит произвёл
GitHub
родитель
be68398c7f
Коммит
5c33f51b03
@@ -652,6 +652,7 @@ func getPostThread(c *Context, w http.ResponseWriter, r *http.Request) {
|
|||||||
// Either only fromCreateAt must be set, or both fromPost and fromCreateAt must be set
|
// Either only fromCreateAt must be set, or both fromPost and fromCreateAt must be set
|
||||||
if fromPost != "" && fromCreateAt == 0 {
|
if fromPost != "" && fromCreateAt == 0 {
|
||||||
c.SetInvalidParam("if fromPost is set, then fromCreatAt must also be set")
|
c.SetInvalidParam("if fromPost is set, then fromCreatAt must also be set")
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
direction := ""
|
direction := ""
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user