@@ -24,7 +24,7 @@ class {{ dbo_name.camel_upper }} extends LuDbo {
{
$dbo = new {{ dbo_name.camel_upper }}();
{% for column in columns %}
- if (isset($json["{{ column.name.camel_upper }}"]) {
+ if (isset($json["{{ column.name.camel_upper }}"])) {
$dbo->set{{ column.name.camel_upper }}($json["{{ column.name.camel_upper }}"]);
}
{% endfor %}