added first to query for the module timing

This commit is contained in:
Harry Bomrah 2016-01-05 15:59:48 +08:00
parent 9455e14ebf
commit d305c5b6df
1 changed files with 9 additions and 9 deletions

View File

@ -134,7 +134,7 @@ class Admin::AdminModulesController < OrbitAdminController
end end
if im.count > 0 if im.count > 0
registered_sites << rs registered_sites << rs
times << im.created_at.strftime("%Y-%m-%d %H:%M") rescue "" times << im.first.created_at.strftime("%Y-%m-%d %H:%M") rescue ""
end end
end end
end end