diff options
| author | michael pereira | 2011-03-06 20:12:36 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-06 20:12:36 +0100 |
| commit | 0e017ebdc1edbbf230f0f0160f103c39ef675725 (patch) | |
| tree | e7848e531d30a01145f2f98d8a3189ea6699c54d /application/controllers/BootosController.php | |
| parent | Config fertig (diff) | |
| download | pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.tar.gz pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.tar.xz pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.zip | |
datenbank erweitert, BootMenu, Config fertig
Diffstat (limited to 'application/controllers/BootosController.php')
| -rw-r--r-- | application/controllers/BootosController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/controllers/BootosController.php b/application/controllers/BootosController.php index 69621f0..358204b 100644 --- a/application/controllers/BootosController.php +++ b/application/controllers/BootosController.php @@ -25,11 +25,11 @@ class BootosController extends Zend_Controller_Action if ($createbootosForm->isValid($_POST)) { $bootos = new Application_Model_BootOs($_POST); + $bootos->setMembershipID('1'); if($bootos->getConfigID() == '') $bootos->setConfigID(NULL); $bootosmapper = new Application_Model_BootOsMapper(); - $date = new DateTime(); - $bootos->setCreated($date->getTimestamp()); + $bootos->setCreated(time()); try { $bootosmapper->save($bootos); @@ -68,11 +68,11 @@ class BootosController extends Zend_Controller_Action if ($editbootosForm->isValid($_POST)) { $bootos = new Application_Model_BootOs($_POST); + $bootos->setMembershipID('1'); if($bootos->getConfigID() == '') $bootos->setConfigID(NULL); $bootosmapper = new Application_Model_BootOsMapper(); - $date = new DateTime(); - $bootos->setCreated($date->getTimestamp()); + $bootos->setCreated(time()); $bootos->setID($bootosID); try { |
