Description:
fix exclude admin in report
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r428:06bd0f1beeb4 - - 1 file changed: 2 inserted, 2 deleted

@@ -134,8 +134,8
134 134 }
135 135 end
136 136
137 - if sub.user.admin? == false and
138 - sub.submitted_at and sub.submitted_at < @by_lang[lang.pretty_name][:first][:value]
137 + if sub.submitted_at and sub.submitted_at < @by_lang[lang.pretty_name][:first][:value] and
138 + !sub.user.admin?
139 139 @by_lang[lang.pretty_name][:first] = {
140 140 avail: true,
141 141 user_id: sub.user_id,
You need to be logged in to leave comments. Login now