diff --git a/module/custom/control.php b/module/custom/control.php
index 036d552cf3..d943bec607 100644
--- a/module/custom/control.php
+++ b/module/custom/control.php
@@ -541,7 +541,7 @@ class custom extends control
public function mode()
{
$mode = zget($this->config->global, 'mode', 'classic');
- if($this->post->mode && $this->post->mode != $mode) // if mode value change
+ if($this->post->mode and $this->post->mode != $mode) // If mode value change.
{
$mode = fixer::input('post')->get('mode');
$this->loadModel('setting')->setItem('system.common.global.mode', $mode);
diff --git a/module/custom/view/header.html.php b/module/custom/view/header.html.php
index 6c4edddc41..70f9f5cd1a 100644
--- a/module/custom/view/header.html.php
+++ b/module/custom/view/header.html.php
@@ -15,10 +15,9 @@
if($sysObject == 'required') continue;
common::printLink('custom', $sysObject, "", "{$lang->custom->$sysObject}", '', "class='btn btn-link' id='{$sysObject}Tab'");
}
- // if((isset($config->systemMode) and $config->systemMode == 'classic') || (isset($config->global->upgradeStep) and $config->global->upgradeStep == 'mergeProgram'))
- // {
- common::printLink('custom', 'mode', "", "{$lang->custom->mode}", '', "class='btn btn-link' id='modeTab'");
- // }
+
+ common::printLink('custom', 'mode', "", "{$lang->custom->mode}", '', "class='btn btn-link' id='modeTab'");
+
?>