mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
DataTypeDatalist: fix typo
This commit is contained in:
parent
a80bdd833e
commit
3e80115692
@ -51,7 +51,7 @@ class DataTypeDatalist extends DataTypeHook
|
||||
}
|
||||
|
||||
if ($behavior === 'suggest_extend') {
|
||||
$form->callOnSucess(function (DirectorForm $form) use ($name, $listId) {
|
||||
$form->callOnSuccess(function (DirectorForm $form) use ($name, $listId) {
|
||||
$value = (array) $form->getValue($name);
|
||||
if ($value === null) {
|
||||
return;
|
||||
|
@ -481,7 +481,7 @@ abstract class QuickForm extends QuickBaseForm
|
||||
* @param callable $callable
|
||||
* @return $this
|
||||
*/
|
||||
public function callOnSucess($callable)
|
||||
public function callOnSuccess($callable)
|
||||
{
|
||||
if (! is_callable($callable)) {
|
||||
throw new InvalidArgumentException(
|
||||
|
Loading…
x
Reference in New Issue
Block a user