diff --git a/main/admin/settings.php b/main/admin/settings.php index 17dc53775a..33f400a268 100644 --- a/main/admin/settings.php +++ b/main/admin/settings.php @@ -419,7 +419,8 @@ if (!empty($_GET['category'])) { } break; default: - $form->display(); + if (isset($form)) + $form->display(); } }