Make sure we don't get an error if custom_acp_tpl is empty
This commit is contained in:
1 parent
df881f3cf8
commit
1ea2f6f3e5
1 file changed
+1
-1
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user