From cfe669be36d115c3bc4c98c8215c51480185e64e Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 17 Jul 2011 13:02:59 +0000 Subject: perm deleted devices are no more catalogued --- h-source/Application/Controllers/DownloadController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Controllers/DownloadController.php') diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php index 879bded..2fcacfa 100644 --- a/h-source/Application/Controllers/DownloadController.php +++ b/h-source/Application/Controllers/DownloadController.php @@ -163,7 +163,7 @@ class DownloadController extends BaseController { header ("Content-Type:text/xml"); - $res = $this->m['HardwareModel']->clear()->select()->where($whereArray)->orderBy("type,hardware.id_hard")->send(); + $res = $this->m['HardwareModel']->clear()->select()->where($whereArray)->aWhere(array("cleared"=>"no"))->orderBy("type,hardware.id_hard")->send(); $data['xml'] = $this->getXml($res); -- cgit v1.2.3