add ptype category

This commit is contained in:
wlx 2013-04-20 13:02:05 +00:00
parent a31fd7ca59
commit dccbd2cad2
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class ArchivesController extends Zend_Controller_Action
$News = new Archive($this->db); $News = new Archive($this->db);
$category = new ArchiveCategory($this->db); $category = new ArchiveCategory($this->db);
$types = $category->GetCategory(); $types = $category->GetCategory(0,$ptype);
foreach($types as $k=>$v) foreach($types as $k=>$v)
{ {
$parts = array( $parts = array(