DirectorDatafield, DirectorObjectForm: just lines

This commit is contained in:
Thomas Gelf 2015-07-31 15:47:18 +02:00
parent 7b07d07d02
commit cbdaf34339
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class DirectorDatafield extends DbObject
if (! array_key_exists($key, $this->settings) || $value !== $this->settings[$key]) {
$this->hasBeenModified = true;
}
$this->settings[$key] = $value;
return $this;
}

View File

@ -383,6 +383,7 @@ abstract class DirectorObjectForm extends QuickForm
{
$object = $this->object();
$values = array();
if ($this->hasBeenSent()) {
$post = $this->getRequest()->getPost();
foreach ($post as $key => $value) {