diff --git a/library/Director/Web/Form/DirectorObjectForm.php b/library/Director/Web/Form/DirectorObjectForm.php index 7dbba409..af015f14 100644 --- a/library/Director/Web/Form/DirectorObjectForm.php +++ b/library/Director/Web/Form/DirectorObjectForm.php @@ -619,12 +619,12 @@ abstract class DirectorObjectForm extends QuickForm $values = array(); $object = $this->object(); - - if ($this->shouldBeDeleted()) { - $this->deleteObject($object); - } - if ($this->hasBeenSent()) { + + if ($this->shouldBeDeleted()) { + $this->deleteObject($object); + } + $post = $this->getRequest()->getPost(); foreach ($post as $key => $value) { $el = $this->getElement($key);