diff --git a/inoerp/index.php b/inoerp/index.php index b68320140..dd3a5beaf 100644 --- a/inoerp/index.php +++ b/inoerp/index.php @@ -51,7 +51,7 @@ if ($class == 'index') { if (!empty($si) && ($si->default_home_page == 'content')) { include_once THEME_DIR . '/home_page_template.php'; - } else if (!empty($si) && !empty(($si->default_home_page))) { + } else if (!empty($si) && !empty($si->default_home_page)) { include_once THEME_DIR . $si->default_home_page; } else { header('location: form.php?class_name=user_dashboard_v'); @@ -77,4 +77,4 @@ include_once 'content.php'; break; } -?> \ No newline at end of file +?>