// undefined var fixed
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ try
|
|||||||
// if the current employee theme is not valid (check layout.tpl presence),
|
// if the current employee theme is not valid (check layout.tpl presence),
|
||||||
// reset to default theme
|
// reset to default theme
|
||||||
if (empty($context->employee->bo_theme) ||
|
if (empty($context->employee->bo_theme) ||
|
||||||
!file_exists($path.$employee->bo_theme.'/template/layout.tpl'))
|
!file_exists($path.$context->employee->bo_theme.'/template/layout.tpl'))
|
||||||
{
|
{
|
||||||
// default admin theme is "default".
|
// default admin theme is "default".
|
||||||
$context->employee->bo_theme = '';
|
$context->employee->bo_theme = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user