diff options
author | Michael Neves | 2012-01-27 17:00:04 +0100 |
---|---|---|
committer | Michael Neves | 2012-01-27 17:00:04 +0100 |
commit | 26e14348a480bc90795af8af86bda05c92561287 (patch) | |
tree | 25ad1b54a1d639fb133de4be4bb3ac4b78cf6b2c | |
parent | serialnr als parameter (diff) | |
download | pbs2-26e14348a480bc90795af8af86bda05c92561287.tar.gz pbs2-26e14348a480bc90795af8af86bda05c92561287.tar.xz pbs2-26e14348a480bc90795af8af86bda05c92561287.zip |
serial list tab
-rw-r--r-- | application/controllers/ResourceController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php index 04e096c..af3cd57 100644 --- a/application/controllers/ResourceController.php +++ b/application/controllers/ResourceController.php @@ -259,7 +259,7 @@ class ResourceController extends Zend_Controller_Action { foreach($bootisolist as $k => $bootiso){ $preboot = $prebootMapper->findBy(array('serialnumber' => $bootiso->getSerialnumber(), 'preboottypeID' => $bootiso->getPreboottypeID())); $download = (count($preboot)!=0)?"yes":"no"; - $result .= ($k + 1).". ".$preboottypeMapper->find($bootiso->getPreboottypeID())->getName().", ".$bootiso->getSerialnumber()."\t\t".$groupMapper->find($bootiso->getGroupID())->getTitle().", ".$bootiso->getTitle().",\tDownload available: ".$download."\n"; + $result .= ($k + 1).". ".$preboottypeMapper->find($bootiso->getPreboottypeID())->getName().", ".$bootiso->getSerialnumber()."\t".$groupMapper->find($bootiso->getGroupID())->getTitle().", ".$bootiso->getTitle().",\t\tDownload available: ".$download."\n"; } } header("Content-Length: ".(strlen($result))); |