summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-01-27 17:02:22 +0100
committerMichael Neves2012-01-27 17:02:22 +0100
commit48eb3e7ada73e3333b632cc1e1651661103f521e (patch)
tree68653d401b9f5b977faf5e3dc3fba51d119de62a
parentserial list tab (diff)
downloadpbs2-48eb3e7ada73e3333b632cc1e1651661103f521e.tar.gz
pbs2-48eb3e7ada73e3333b632cc1e1651661103f521e.tar.xz
pbs2-48eb3e7ada73e3333b632cc1e1651661103f521e.zip
serial list tab
-rw-r--r--application/controllers/ResourceController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index af3cd57..c5dbf1a 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".$groupMapper->find($bootiso->getGroupID())->getTitle().", ".$bootiso->getTitle().",\t\tDownload available: ".$download."\n";
+ $result .= ($k + 1).". ".$preboottypeMapper->find($bootiso->getPreboottypeID())->getName().", ".$bootiso->getSerialnumber()."\tDownload available: ".$download."\t".$groupMapper->find($bootiso->getGroupID())->getTitle().", ".$bootiso->getTitle()."\n";
}
}
header("Content-Length: ".(strlen($result)));