mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
ProcessCheckResultCommandForm: Fix Variable '$object' is probably undefined
This commit is contained in:
parent
3db461ed62
commit
4341a32c1f
@ -40,6 +40,7 @@ class ProcessCheckResultCommandForm extends ObjectsCommandForm
|
||||
*/
|
||||
public function createElements(array $formData)
|
||||
{
|
||||
$object = null;
|
||||
foreach ($this->getObjects() as $object) {
|
||||
/** @var \Icinga\Module\Monitoring\Object\MonitoredObject $object */
|
||||
// Nasty, but as getObjects() returns everything but an object with a real
|
||||
|
Loading…
x
Reference in New Issue
Block a user