diff --git a/module/editor/control.php b/module/editor/control.php index 4186dee101..13d392ddd0 100644 --- a/module/editor/control.php +++ b/module/editor/control.php @@ -22,7 +22,7 @@ class editor extends control public function __construct($module = '', $method = '') { parent::__construct($module, $method); - if($this->app->getMethodName() != 'switch' and empty($this->config->global->editor)) $this->locate($this->createLink('dev', 'editor')); + if($this->app->getMethodName() != 'turnon' and empty($this->config->global->editor)) $this->locate($this->createLink('dev', 'editor')); } /**