@@ -3,6 +3,9 @@ |
||
| 3 | 3 | |
| 4 | 4 | class PendingRejectedEmail extends VolunteerEmail |
| 5 | 5 | { |
| 6 | + /** |
|
| 7 | + * @param \VolunteerProfile $userProfile |
|
| 8 | + */ |
|
| 6 | 9 | public function __construct($userProfile) |
| 7 | 10 | { |
| 8 | 11 | parent::__construct($userProfile); |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | $filter = new \Data\Filter("departmentID eq '$deptId'"); |
| 78 | 78 | $odata = $request->getAttribute('odata', new \ODataParams(array())); |
| 79 | 79 | $roles = $dataTable->read($filter, $odata->select, $odata->top, |
| 80 | - $odata->skip, $odata->orderby); |
|
| 80 | + $odata->skip, $odata->orderby); |
|
| 81 | 81 | if($roles === false) |
| 82 | 82 | { |
| 83 | 83 | $roles = array(); |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | } |
| 115 | 115 | } |
| 116 | 116 | $shifts = $dataTable->read($filter, $odata->select, $odata->top, |
| 117 | - $odata->skip, $odata->orderby); |
|
| 117 | + $odata->skip, $odata->orderby); |
|
| 118 | 118 | if($shifts === false) |
| 119 | 119 | { |
| 120 | 120 | $shifts = array(); |