fixed getCat output
This commit is contained in:
parent
25cd78200d
commit
1dfecffad1
|
|
@ -16,6 +16,6 @@ class Job {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCat() {
|
public function getCat() {
|
||||||
return $this->catsTable->find('id', $this->categoryId);
|
return $this->catsTable->find('id', $this->categoryId)[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue