From b3f8d759ba30dae28eda2bf7fad394a118c5acba Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 10 May 2012 18:38:48 +0200 Subject: [PATCH] Avoid warning --- main/admin/settings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } }