summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authormichael pereira2011-03-10 16:51:45 +0100
committermichael pereira2011-03-10 16:51:45 +0100
commitfa86fafd4bb81d921f418f100b5097c63ffce490 (patch)
tree6672928cc0b2fa5478b301c06f40acd673e905ab /application
parentBootmenu auf preboot JSON (diff)
downloadpbs2-fa86fafd4bb81d921f418f100b5097c63ffce490.tar.gz
pbs2-fa86fafd4bb81d921f418f100b5097c63ffce490.tar.xz
pbs2-fa86fafd4bb81d921f418f100b5097c63ffce490.zip
Bootmenu auf preboot JSON
Diffstat (limited to 'application')
-rw-r--r--application/controllers/BootmenuController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/BootmenuController.php b/application/controllers/BootmenuController.php
index 9a212d6..abb046e 100644
--- a/application/controllers/BootmenuController.php
+++ b/application/controllers/BootmenuController.php
@@ -74,14 +74,14 @@ class BootmenuController extends Zend_Controller_Action
foreach($bootmenuentries as $bootmenuentry){
$ar = array();
- $ar['title'] = $bootmenu->getTitle();
- $ar['id'] = $bootmenu->getID();
+ $ar['title'] = $bootmenuentry->getTitle();
+ $ar['id'] = $bootmenuentry->getID();
$cc['data'][] = $ar;
}
echo json_encode($cc);
- // print_a($cc);
+ print_a($cc);
}