Ver Fonte

no message

xingzai há 2 anos atrás
pai
commit
63c63865b0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      controllers/report_selection.go

+ 1 - 1
controllers/report_selection.go

@@ -37,7 +37,7 @@ func (this *ReportSelectionController) Detail() {
 	//uid := user.UserId
 	articleId, _ := this.GetInt("ArticleId")
 	isBestNew, _ := this.GetBool("IsBestNew")
-	if articleId == 0 {
+	if articleId == 0 || isBestNew {
 		isBestNew = true
 		if isBestNew {
 			tbdb := "cygx_report_selection"