From 1ea2f6f3e54ae298855c42fedccefcac1bb49d97 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 18 Oct 2010 18:32:13 +0000 Subject: [PATCH] Make sure we don't get an error if custom_acp_tpl is empty --- root/includes/acp/acp_portal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index db0a721d..b499e3b4 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -179,7 +179,7 @@ class acp_portal } // show custom HTML files on the settings page of the modules instead of the standard board3 portal one, if chosen by module - if(!isset($c_class->custom_acp_tpl)) + if(!isset($c_class->custom_acp_tpl) || empty($c_class->custom_acp_tpl)) { $this->tpl_name = 'portal/acp_portal_config'; }