diff --git a/include/class.organization.php b/include/class.organization.php index 0c08a4f30c08281e8b473747944b3c81046a1b0d..e870667b1f10e2132b9bdc51a2fa7c18e65f02aa 100644 --- a/include/class.organization.php +++ b/include/class.organization.php @@ -257,7 +257,7 @@ implements TemplateVariable { } } - function addForm($form, $sort=1, $data) { + function addForm($form, $sort=1, $data=null) { $entry = $form->instanciate($sort, $data); $entry->set('object_type', 'O'); $entry->set('object_id', $this->getId());