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]) { if (! array_key_exists($key, $this->settings) || $value !== $this->settings[$key]) {
$this->hasBeenModified = true; $this->hasBeenModified = true;
} }
$this->settings[$key] = $value; $this->settings[$key] = $value;
return $this; return $this;
} }

View File

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