From b69889c38887477b4a643dd3bb88a5961cbd690c Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 26 Apr 2016 15:52:08 +0800 Subject: [PATCH] * adjust for user-create by tutorial-wizard. --- module/tutorial/control.php | 1 + module/user/control.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/module/tutorial/control.php b/module/tutorial/control.php index 2944c558c6..a9cf8aab1f 100644 --- a/module/tutorial/control.php +++ b/module/tutorial/control.php @@ -63,6 +63,7 @@ class tutorial extends control public function wizard($module, $method, $params = '') { define('WIZARD', true); + $params = helper::safe64Decode($params); if($_POST) { die(); diff --git a/module/user/control.php b/module/user/control.php index f0d4e6b065..dd75d3aa63 100644 --- a/module/user/control.php +++ b/module/user/control.php @@ -19,9 +19,9 @@ class user extends control * @access public * @return void */ - public function __construct() + public function __construct($module = '', $method = '') { - parent::__construct(); + parent::__construct($module, $method); $this->loadModel('company')->setMenu(); $this->loadModel('dept'); $this->loadModel('todo');