DirectorDatafield, DirectorObjectForm: just lines
This commit is contained in:
parent
7b07d07d02
commit
cbdaf34339
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue