* Rename account name field.

This commit is contained in:
caoyanyi
2024-04-23 08:53:23 +08:00
parent 85f226c026
commit 8d97a1116e
12 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ class gitfox extends control
if($_POST)
{
$gitfox = form::data($this->config->gitfox->form->create)
->add('createdBy', $this->app->user->acount)
->add('createdBy', $this->app->user->account)
->get();
$this->checkToken($gitfox);
$gitfoxID = $this->loadModel('pipeline')->create($gitfox);
@@ -54,7 +54,7 @@ class gitfox extends control
if($_POST)
{
$gitfox = form::data($this->config->gitfox->form->edit)
->add('editedBy', $this->app->user->acount)
->add('editedBy', $this->app->user->account)
->get();
$this->checkToken($gitfox, $gitfoxID);
$this->loadModel('pipeline')->update($gitfoxID, $gitfox);