DirectorDatalistForm: do not show hidden user

This commit is contained in:
Thomas Gelf 2015-07-28 12:01:37 +02:00
parent 4aa1307c9f
commit feb4f0974b
1 changed files with 1 additions and 4 deletions

View File

@ -18,10 +18,7 @@ class DirectorDatalistForm extends DirectorObjectForm
public function onSuccess()
{
$this->getElement('owner')->setValue(
self::username()
);
$this->addHidden('owner', self::username());
parent::onSuccess();
}