Skip to content
Snippets Groups Projects
Commit bd6e2d10 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #273 from greezybacon/issue/company-info-new-fields


Auto add new fields to the company information form

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents eb782afe 03bdd694
No related branches found
No related tags found
No related merge requests found
......@@ -537,7 +537,7 @@ class DynamicFormEntry extends VerySimpleModel {
if ($field->hasData() && !$field->isPresentationOnly())
$a->save();
}
$this->_values = array();
$this->_values = null;
}
function delete() {
......
......@@ -15,7 +15,9 @@ $pages = Page::getPages();
</tr></thead>
<tbody>
<?php
$ost->company->getForm()->render();
$form = $ost->company->getForm();
$form->addMissingFields();
$form->render();
?>
</tbody>
<thead>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment