From 99e87e1869e49c67bea2b779283def0e98f39bca Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 14 Feb 2011 14:15:09 +0000 Subject: improved history --- h-source/Application/Controllers/BaseController.php | 2 +- h-source/Application/Controllers/LastController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'h-source/Application/Controllers') diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php index 7eb4236..7d03735 100644 --- a/h-source/Application/Controllers/BaseController.php +++ b/h-source/Application/Controllers/BaseController.php @@ -119,7 +119,7 @@ class BaseController extends Controller $data['lastModif'] = $this->m['HistoryModel'] ->select() - ->where(array('type'=>'wiki','gr'=>'registered')) + ->where(array('type'=>'hardware','gr'=>'registered')) ->orderBy('id_history desc') ->limit(5) ->send(); diff --git a/h-source/Application/Controllers/LastController.php b/h-source/Application/Controllers/LastController.php index 0791ccb..c357c1a 100644 --- a/h-source/Application/Controllers/LastController.php +++ b/h-source/Application/Controllers/LastController.php @@ -41,7 +41,7 @@ class LastController extends BaseController $whereClauseArray = array( 'gr' => 'registered', - 'type' => 'wiki', + 'type' => 'hardware', ); $this->helper('Pages','last/modifications/'.$this->lang,'page'); -- cgit v1.2.3