aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/BaseController.php2
-rw-r--r--h-source/Application/Controllers/LastController.php2
2 files changed, 2 insertions, 2 deletions
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');