diff --git a/htdocs/admin/workers.php b/htdocs/admin/workers.php index 74714c2..2bfa9b2 100644 --- a/htdocs/admin/workers.php +++ b/htdocs/admin/workers.php @@ -204,9 +204,9 @@ public function editGetView($request) return new AdminWorkerNewEditView(array('worker' => new WorkerModel($row))); } - public function editPostView() + public function editPostView(WorkerModel $worker) { - return $this->newPostView(); + return $this->newPostView($worker); } }