Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from wyze/master
Browse files Browse the repository at this point in the history
Fix crash when editing a worker
  • Loading branch information
cdhowie committed Jun 21, 2011
2 parents 4c4c84d + f566944 commit 5cd0b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/admin/workers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 5cd0b33

Please sign in to comment.