Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10 from Firefly822/master
Browse files Browse the repository at this point in the history
fix a bug
  • Loading branch information
fztcjjl committed Jan 19, 2016
2 parents b3093a6 + 6587385 commit bf55bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/entitybase/CommonEntity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ end

function CommonEntity:getValue(id, field)
local record = self:get(id)
if not record then
if record then
return record[field]
end
end
Expand Down

0 comments on commit bf55bc8

Please sign in to comment.