Skip to content

Commit

Permalink
Missing parameters on function and passing the variable along to anot…
Browse files Browse the repository at this point in the history
…her function caused Internal Server Error. Fixes issue #17.
  • Loading branch information
wyze committed Jun 21, 2011
1 parent 4c4c84d commit f566944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/admin/workers.php
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 f566944

Please sign in to comment.