@@ -36,7 +36,7 @@ |
||
| 36 | 36 | $this->isLead = $this->user->isInGroupNamed('Leads'); |
| 37 | 37 | if($this->isLead) |
| 38 | 38 | { |
| 39 | - $this->is_admin = true; |
|
| 39 | + $this->is_admin = true; |
|
| 40 | 40 | } |
| 41 | 41 | else |
| 42 | 42 | { |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | $uid = $this->user->uid; |
| 45 | 45 | $email = $this->user->mail; |
| 46 | 46 | $filter = new \Data\Filter("others eq $uid or others eq $email"); |
| 47 | - $dataTable = DataSetFactory::getDataTableByNames('fvs','departments'); |
|
| 47 | + $dataTable = DataSetFactory::getDataTableByNames('fvs', 'departments'); |
|
| 48 | 48 | $depts = $dataTable->read($filter); |
| 49 | 49 | $this->isLead = !empty($depts); |
| 50 | 50 | $this->is_admin = true; |