summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootmenuController.php
diff options
context:
space:
mode:
authormichael pereira2011-04-05 17:52:59 +0200
committermichael pereira2011-04-05 17:52:59 +0200
commit5336329dafe6591b0b1269e741e44a8ec01a9b28 (patch)
tree5fc6efee0b7ffa2a5afd0734ec21201de1909769 /application/modules/user/controllers/BootmenuController.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-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.php2
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){