Commit 6f3959ce7a4a7230c3d20e74de521ea148fb1988
1 parent
810c6151
bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/Daily.lua
| ... | ... | @@ -49,7 +49,7 @@ function Daily:refreshDailyData(notify) |
| 49 | 49 | local dataMap = {} |
| 50 | 50 | for field, schema in pairs(self.schema) do |
| 51 | 51 | if field == "advC" or field == "advElC" then |
| 52 | - if self:getProperty("field") > 0 then | |
| 52 | + if self:getProperty(field) > 0 then | |
| 53 | 53 | dataMap[field] = 0 |
| 54 | 54 | end |
| 55 | 55 | elseif field ~= "key" then | ... | ... |