Make sure we don't get an error if custom_acp_tpl is empty

This commit is contained in:
Marc Alexander
2010-10-18 18:32:13 +00:00
parent df881f3cf8
commit 1ea2f6f3e5

View File

@@ -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 // 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'; $this->tpl_name = 'portal/acp_portal_config';
} }