* Fix bug#38454
This commit is contained in:
@@ -174,6 +174,10 @@ class jobModel extends model
|
||||
$job = fixer::input('post')
|
||||
->setDefault('atDay,projectKey', '')
|
||||
->setDefault('sonarqubeServer', 0)
|
||||
->setIF($this->post->triggerType != 'commit', 'comment', '')
|
||||
->setIF($this->post->triggerType != 'schedule', 'atDay', '')
|
||||
->setIF($this->post->triggerType != 'schedule', 'atTime', '')
|
||||
->setIF($this->post->triggerType != 'tag', 'lastTag', '')
|
||||
->add('createdBy', $this->app->user->account)
|
||||
->add('createdDate', helper::now())
|
||||
->remove('repoType,reference')
|
||||
|
||||
Reference in New Issue
Block a user