* Fix bug #39230.
This commit is contained in:
@@ -932,6 +932,12 @@ class InstanceModel extends model
|
||||
if(empty($k8name)) $k8name = "{$app->chart}-" . date('YmdHis'); //name rule: chartName-userAccount-YmdHis;
|
||||
if(defined('IN_INSTALL') && IN_INSTALL && empty($this->app->user->account)) $createdBy = trim($this->app->company->admins, ','); //Set createdBy if in login progress;
|
||||
|
||||
if(!$this->app->user->account)
|
||||
{
|
||||
$this->app->user = new stdclass();
|
||||
$this->app->user->account = $this->dao->select('*')->from(TABLE_USER)->where('deleted')->eq(0)->fetch('account');
|
||||
}
|
||||
|
||||
$instanceData = new stdclass;
|
||||
$instanceData->appId = $app->id;
|
||||
$instanceData->appName = $app->alias;
|
||||
|
||||
Reference in New Issue
Block a user