diff --git a/db/sql/template.go b/db/sql/template.go index f3bbc633..839e3b43 100644 --- a/db/sql/template.go +++ b/db/sql/template.go @@ -72,8 +72,8 @@ func (d *SqlDb) UpdateTemplate(template db.Template) error { "`type`=?, "+ "start_version=?,"+ "build_template_id=?, "+ - "view_id=? "+ - "autorun=? "+ + "view_id=?, "+ + "autorun=?, "+ "survey_vars=? "+ "where removed = false and id=? and project_id=?", template.InventoryID,