diff options
| author | Björn Geiger | 2011-04-05 18:13:19 +0200 |
|---|---|---|
| committer | Björn Geiger | 2011-04-05 18:13:19 +0200 |
| commit | 9af50098ab0cd1412c8db21da090ef526b9da592 (patch) | |
| tree | 09717998529795c7abc085b423667e942797f106 /application/modules/user/controllers/BootmenuController.php | |
| parent | Search in Group, Person und Role (diff) | |
| parent | filter table repariert (diff) | |
| download | pbs2-9af50098ab0cd1412c8db21da090ef526b9da592.tar.gz pbs2-9af50098ab0cd1412c8db21da090ef526b9da592.tar.xz pbs2-9af50098ab0cd1412c8db21da090ef526b9da592.zip | |
Merge branch 'master' of ssh://git.openslx.org/lsfks/master-teamprojekt/pbs2
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){ |
