From cfa4e61ef597e6c8f4d2aff3c1d7dd0b4f1d3157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Sat, 30 Dec 2023 11:38:54 +0800 Subject: [PATCH] Fix bug. --- app/controllers/feeds_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/feeds_controller.rb b/app/controllers/feeds_controller.rb index 9ee3c6f..6c11ea1 100644 --- a/app/controllers/feeds_controller.rb +++ b/app/controllers/feeds_controller.rb @@ -83,6 +83,7 @@ class FeedsController < ApplicationController a["category_id"] = category_id locales.each do |locale| locale_sym = locale.to_sym + time_field_value = Time.parse(a[feeds_time_field]) rescue a[feeds_time_field] has_create = false feed_annc[:all_contents_for_feed][locale_sym].each_with_index do |aa, i| if aa["id"] == a["id"]