From 48eb3e7ada73e3333b632cc1e1651661103f521e Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Fri, 27 Jan 2012 17:02:22 +0100 Subject: serial list tab --- application/controllers/ResourceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); -- cgit v1.2.3-55-g7522