From 5f551b2d89b02cd159bf35723695ab2343a87248 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 21 Jul 2011 09:53:44 +0000 Subject: added Trisquel 5.0 to the list of the allowed distros --- h-source/Application/Controllers/BaseController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Controllers') diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php index c636f8d..eb8042d 100644 --- a/h-source/Application/Controllers/BaseController.php +++ b/h-source/Application/Controllers/BaseController.php @@ -110,7 +110,7 @@ class BaseController extends Controller { $hard = new HardwareModel(); - $data['stat'] = $hard->clear()->select('type,count(*) AS numb')->where(array('-deleted'=>'no'))->groupBy('type')->toList('type','aggregate.numb')->send(); + $data['stat'] = $hard->clear()->select('type,count(*) AS numb')->where(array('-deleted'=>'no','cleared'=>'no'))->groupBy('type')->toList('type','aggregate.numb')->send(); $logged = $this->s['registered']->getUsersLogged(); -- cgit v1.2.3