mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
parent
1bd5868a88
commit
851682cf18
@ -134,8 +134,8 @@ class Wizard
|
|||||||
protected function assertHasPages()
|
protected function assertHasPages()
|
||||||
{
|
{
|
||||||
$pages = $this->getPages();
|
$pages = $this->getPages();
|
||||||
if (empty($pages)) {
|
if (count($pages) < 2) {
|
||||||
throw new LogicException('Although Chuck Norris can advance a wizard without any pages, you can\'t.');
|
throw new LogicException("Although Chuck Norris can advance a wizard with less than two pages, you can't.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user