aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-02-14 14:15:09 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-02-14 14:15:09 +0000
commit99e87e1869e49c67bea2b779283def0e98f39bca (patch)
tree9a80b9364c49713a146f3fe2f0c118b01880f988 /h-source/Application/Controllers
parentbd506cb53aefc43d0a63b6fc9068bd236e543244 (diff)
improved history
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');