Fix bug at adding the status to a job
This commit is contained in:
@@ -128,7 +128,7 @@ class Job extends CI_Model {
|
|||||||
public function getById($job_id) {
|
public function getById($job_id) {
|
||||||
$job = $this->db->get_where('jobs', array('id' => $job_id))->row_array();
|
$job = $this->db->get_where('jobs', array('id' => $job_id))->row_array();
|
||||||
|
|
||||||
$job = addStatus($job);
|
$job = $this->addStatus($job);
|
||||||
|
|
||||||
return $job;
|
return $job;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user