diff --git a/jobs/Entity/Job.php b/jobs/Entity/Job.php index 315be61..5d2d9bf 100644 --- a/jobs/Entity/Job.php +++ b/jobs/Entity/Job.php @@ -16,6 +16,6 @@ class Job { } public function getCat() { - return $this->catsTable->find('id', $this->categoryId); + return $this->catsTable->find('id', $this->categoryId)[0]; } } \ No newline at end of file