mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-19 02:52:54 -05:00
QuickBaseForm: Property $icingaModule can be null
This commit is contained in:
parent
95504131d1
commit
2efe54de1f
1 changed files with 1 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml
|
|||
* The Icinga module this form belongs to. Usually only set if the
|
||||
* form is initialized through the FormLoader
|
||||
*
|
||||
* @var Module
|
||||
* @var ?Module
|
||||
*/
|
||||
protected $icingaModule;
|
||||
|
||||
|
|
@ -123,7 +123,6 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml
|
|||
}
|
||||
|
||||
if (array_key_exists('icingaModule', $options)) {
|
||||
/** @var Module icingaModule */
|
||||
$this->icingaModule = $options['icingaModule'];
|
||||
$this->icingaModuleName = $this->icingaModule->getName();
|
||||
unset($options['icingaModule']);
|
||||
|
|
|
|||
Loading…
Reference in a new issue