Permalink
Browse files

Added argument to update for RC2

  • Loading branch information...
1 parent 1732f57 commit e520599dda2121bbef4841ab7f72094ea1978ade @guitsaru committed Oct 14, 2008
Showing with 1 addition and 3 deletions.
  1. +1 −3 project.php
View
@@ -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']))

0 comments on commit e520599

Please sign in to comment.