diff options
| author | michael pereira | 2011-04-05 17:52:59 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-05 17:52:59 +0200 |
| commit | 5336329dafe6591b0b1269e741e44a8ec01a9b28 (patch) | |
| tree | 5fc6efee0b7ffa2a5afd0734ec21201de1909769 /application/modules/user/controllers/BootmenuController.php | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-5336329dafe6591b0b1269e741e44a8ec01a9b28.tar.gz pbs2-5336329dafe6591b0b1269e741e44a8ec01a9b28.tar.xz pbs2-5336329dafe6591b0b1269e741e44a8ec01a9b28.zip | |
Dates angepasst
Diffstat (limited to 'application/modules/user/controllers/BootmenuController.php')
| -rw-r--r-- | application/modules/user/controllers/BootmenuController.php | 2 |
1 files changed, 2 insertions, 0 deletions
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){ |
