Fix bug at adding the status to a job

This commit is contained in:
Karsten Heiken
2011-11-26 19:07:38 +01:00
parent 06ab8168ab
commit 2eddcf9ae9

View File

@@ -128,7 +128,7 @@ class Job extends CI_Model {
public function getById($job_id) {
$job = $this->db->get_where('jobs', array('id' => $job_id))->row_array();
$job = addStatus($job);
$job = $this->addStatus($job);
return $job;
}