Browse Source

no message

xingzai 2 năm trước cách đây
mục cha
commit
63c63865b0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"