Skip to content
Snippets Groups Projects
Commit 6c4b57d2 authored by Peter Rotich's avatar Peter Rotich
Browse files

Fix fatal typo bug for Staff::getDept

parent 53247bfb
Branches
Tags
No related merge requests found
...@@ -177,7 +177,7 @@ class Staff { ...@@ -177,7 +177,7 @@ class Staff {
function getDept() { function getDept() {
if(!$this->dept && $this->getDeptIf()) if(!$this->dept && $this->getDeptId())
$this->dept= Dept::lookup($this->getDeptId()); $this->dept= Dept::lookup($this->getDeptId());
return $this->dept; return $this->dept;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment