diff --git a/module/compile/control.php b/module/compile/control.php index 319cb84887..8d123c97be 100644 --- a/module/compile/control.php +++ b/module/compile/control.php @@ -64,8 +64,8 @@ class compile extends control public function logs($buildID) { $build = $this->compile->getByID($buildID); - $this->view->logs = str_replace("\r\n","
", $build->logs); - $this->view->build = $build; + $this->view->logs = str_replace("\r\n","
", $build->logs); + $this->view->build = $build; $this->view->title = $this->lang->ci->job . $this->lang->colon . $this->lang->compile->logs; $this->view->position[] = html::a($this->createLink('job', 'browse'), $this->lang->ci->job); diff --git a/module/compile/model.php b/module/compile/model.php index fdbdd9923b..7f82a344ce 100644 --- a/module/compile/model.php +++ b/module/compile/model.php @@ -60,7 +60,7 @@ class compileModel extends model /** * Get last result. * - * @param int $jobID + * @param int $jobID * @access public * @return object */ @@ -115,7 +115,7 @@ class compileModel extends model /** * Execute compile * - * @param object $compile + * @param object $compile * @access public * @return bool */