mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
RepositoryForm: Utilize setDefaults instead of populate now
refs #3010 refs #2998
This commit is contained in:
parent
ee7fa2c48c
commit
4cf577b1c8
@ -278,7 +278,7 @@ abstract class RepositoryForm extends Form
|
||||
{
|
||||
$data = $this->getData();
|
||||
if (! empty($data)) {
|
||||
$this->populate($data);
|
||||
$this->setDefaults($data);
|
||||
}
|
||||
}
|
||||
|
||||
@ -301,7 +301,7 @@ abstract class RepositoryForm extends Form
|
||||
$data = get_object_vars($row);
|
||||
}
|
||||
|
||||
$this->populate($data);
|
||||
$this->setDefaults($data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user