|
@@ -117,9 +117,9 @@ class Auth
|
|
|
|
|
|
$domain = Dever::db('component/domain')->one(array('option_project_id' => $param['project_id']));
|
|
|
//自动设置域名
|
|
|
- if ($list) {
|
|
|
+ if ($domain) {
|
|
|
$param['id'] = $id;
|
|
|
- Dever::load('component/domain.set', $param, $list['id']);
|
|
|
+ Dever::load('component/domain.set', $param, $domain['id']);
|
|
|
}
|
|
|
|
|
|
$tester = Dever::db('component/domain')->state(array('option_project_id' => $param['project_id']));
|