mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ImportSourceForm: do not fail on missing hook
This commit is contained in:
parent
4d28358e60
commit
ac622ac7f0
@ -56,6 +56,10 @@ class ImportSourceForm extends DirectorObjectForm
|
||||
return null;
|
||||
}
|
||||
|
||||
if (! class_exists($class)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $class::getDefaultKeyColumnName();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user