This commit is contained in:
BoHung Chiu 2021-07-14 11:51:01 +08:00
parent 9a7c33dfce
commit ae7b337e6a
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class Admin::EventNewsController < OrbitAdminController
if sheet.count <= 503
sheet.each_with_index do |row, i|
next if i < 3
v = row.cells.first.value
v = row.cells.first.value rescue nil
next if v == "" || v.nil?
import_this_event_news(row, categories, tags)
end