mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
__toString() should call __toString() as well if possible
There may be cases that an error occurs and another _toString() implementation handles that appropriately. This is such a case.
This commit is contained in:
parent
3107eb87bb
commit
73b41769e7
@ -474,6 +474,6 @@ class Wizard
|
|||||||
*/
|
*/
|
||||||
public function __toString()
|
public function __toString()
|
||||||
{
|
{
|
||||||
return $this->getForm()->render();
|
return (string) $this->getForm();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user