Skip to content

Commit

Permalink
Added argument to update for RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
guitsaru committed Oct 14, 2008
1 parent 1732f57 commit e520599
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions project.php
Expand Up @@ -66,9 +66,7 @@ public function submit() {
$_POST['slug'],
Post::check_url($_POST['slug']));
}
public function update() {
$post = new Post($_POST['id']);

public function update($post) {
if(empty($_POST['description']))
error(__("Error"), __("Description can't be blank."));
if(empty($_POST['project_url']))
Expand Down

0 comments on commit e520599

Please sign in to comment.