diff options
-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 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))); |