From 94daabfc888051ba96b5607c93cf3dc5a2b67931 Mon Sep 17 00:00:00 2001 From: wlx Date: Sat, 20 Apr 2013 13:06:25 +0000 Subject: [PATCH] add ptype limit in category view --- application/default/controllers/ArchivesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/ArchivesController.php b/application/default/controllers/ArchivesController.php index 5995bdb5..65b8d5ce 100644 --- a/application/default/controllers/ArchivesController.php +++ b/application/default/controllers/ArchivesController.php @@ -112,7 +112,7 @@ class ArchivesController extends Zend_Controller_Action $category = new ArchiveCategory($this->db); - $types = $category->GetCategory(); + $types = $category->GetCategory(0,$ptype); foreach($types as $k=>$v) { $parts = array(