From 5336329dafe6591b0b1269e741e44a8ec01a9b28 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Tue, 5 Apr 2011 17:52:59 +0200 Subject: Dates angepasst --- application/modules/user/controllers/BootmenuController.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/modules/user/controllers/BootmenuController.php') diff --git a/application/modules/user/controllers/BootmenuController.php b/application/modules/user/controllers/BootmenuController.php index f24cb47..738b7d5 100644 --- a/application/modules/user/controllers/BootmenuController.php +++ b/application/modules/user/controllers/BootmenuController.php @@ -69,6 +69,7 @@ class user_BootmenuController extends Zend_Controller_Action if(Pbs_Acl::checkRight('booai')){ $bootmenu = $this->bootmenuMapper->findBy(array('groupID' => $this->membership->getGroupID())); foreach ($bootmenu as $bm){ + $bm->setCreated(date(Zend_Registry::get('dateformat'),$bm->getCreated())); $bootmenuID = $bm->getID(); $bootmenuentries[$bootmenuID] = $this->bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID)); foreach ($bootmenuentries[$bootmenuID] as $bootmenuentry){ @@ -79,6 +80,7 @@ class user_BootmenuController extends Zend_Controller_Action }else{ $bootmenu = $this->bootmenuMapper->findBy(array('membershipID' => $this->membership->getID())); + $bootmenu[0]->setCreated(date(Zend_Registry::get('dateformat'),$bm->getCreated())); $bootmenuID = $bootmenu[0]->getID(); $bootmenuentries[$bootmenuID] = $this->bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID)); foreach ($bootmenuentries[$bootmenuID] as $bootmenuentry){ -- cgit v1.2.3-55-g7522