* Modify page error.

This commit is contained in:
caoyanyi
2022-01-26 02:11:24 +00:00
parent 0cebd0982e
commit 03563c3887
+2
View File
@@ -21,6 +21,8 @@ class jobModel extends model
public function getByID($id)
{
$job = $this->dao->select('*')->from(TABLE_JOB)->where('id')->eq($id)->fetch();
if(empty($job)) return new stdClass();
if(strtolower($job->engine) == 'gitlab')
{
$pipeline = json_decode($job->pipeline);