summaryrefslogtreecommitdiffstats
path: root/acf2/model/model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'acf2/model/model.lua')
-rw-r--r--acf2/model/model.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/acf2/model/model.lua b/acf2/model/model.lua
index 46f0c4d..0867fe6 100644
--- a/acf2/model/model.lua
+++ b/acf2/model/model.lua
@@ -205,6 +205,7 @@ function M.Model:init(context)
else f:_save() end
end
end
+ if self.validate then self:validate() end
end
if self.has_permission then