Fix bug.
This commit is contained in:
parent
7c6f51f7ca
commit
cfa4e61ef5
|
|
@ -83,6 +83,7 @@ class FeedsController < ApplicationController
|
||||||
a["category_id"] = category_id
|
a["category_id"] = category_id
|
||||||
locales.each do |locale|
|
locales.each do |locale|
|
||||||
locale_sym = locale.to_sym
|
locale_sym = locale.to_sym
|
||||||
|
time_field_value = Time.parse(a[feeds_time_field]) rescue a[feeds_time_field]
|
||||||
has_create = false
|
has_create = false
|
||||||
feed_annc[:all_contents_for_feed][locale_sym].each_with_index do |aa, i|
|
feed_annc[:all_contents_for_feed][locale_sym].each_with_index do |aa, i|
|
||||||
if aa["id"] == a["id"]
|
if aa["id"] == a["id"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue