* [misc] adjust system create user for action.

This commit is contained in:
caoyanyi
2025-01-06 13:57:17 +08:00
committed by 田淑杰
parent e9d4b9d1e8
commit ad5d5d8991
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -1,8 +1,6 @@
<?php
declare(strict_types=1);
use function zin\wg;
/**
* The model file of action module of ZenTaoPMS.
*
+1 -1
View File
@@ -136,7 +136,7 @@ class systemModel extends model
}
$systemID = $this->dao->lastInsertID();
$this->loadModel('action')->create('system', $systemID, 'created');
$this->loadModel('action')->create('system', $systemID, 'created', '', '', zget($formData, 'createdBy', $this->app->user->account));
return $systemID;
}