From 9bb1bc9ad847e77ce36bed3b5ad7d2a5c3ecd283 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 12 Jun 2014 03:28:48 +0000 Subject: [PATCH] fix config error --- application/default/controllers/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/IndexController.php b/application/default/controllers/IndexController.php index 8c0b2d4a..8f4c71f4 100755 --- a/application/default/controllers/IndexController.php +++ b/application/default/controllers/IndexController.php @@ -8,7 +8,7 @@ class IndexController extends Zend_Controller_Action $this->db=Zend_Registry::get('db'); $this->view->theme = new Theme(); $this->submd = $this->view->config->sub->metadata; - $this->subnews = $this->view->config->sub->metadata; + $this->subnews = $this->view->config->sub->news; $this->_helper->layout->setLayout('index'); //$this->view->main_nav_pageID = "index"; }