Permalink
Browse files

Fixed missing bits in the edit form

  • Loading branch information...
1 parent 1ccfb9e commit b5e53e5e7ad12e4594ad0504d9d9f6b283218e6c @jbroadway committed Jul 16, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 handlers/edit.php
View
@@ -21,8 +21,16 @@
$f->verify_csrf = false;
if ($f->submit ()) {
$e->title = $_POST['title'];
+ $e->start_date = $_POST['start_date'];
+ $e->end_date = $_POST['end_date'];
+ $e->starts = $_POST['starts'];
+ $e->ends = $_POST['ends'];
$e->details = $_POST['details'];
- // etc.
+ $e->address = $_POST['address'];
+ $e->city = $_POST['city'];
+ $e->contact = $_POST['contact'];
+ $e->email = $_POST['email'];
+ $e->phone = $_POST['phone'];
$e->put ();
Versions::add ($e);
if (! $e->error) {

0 comments on commit b5e53e5

Please sign in to comment.