* set homepage for product/project/qa.

This commit is contained in:
wangyidong
2016-04-15 11:32:46 +08:00
parent 7e7e14b9db
commit c5dcca79bf
17 changed files with 128 additions and 15 deletions

View File

@@ -336,7 +336,7 @@ class block extends control
$this->view->moreLink = '';
if(isset($this->lang->block->modules[$module]->moreLinkList->{$code}))
{
list($moduleName, $method, $vars) = explode('|', sprintf($this->lang->block->modules[$module]->moreLinkList->{$code}, $params->type));
list($moduleName, $method, $vars) = explode('|', sprintf($this->lang->block->modules[$module]->moreLinkList->{$code}, isset($params->type) ? $params->type : ''));
$this->view->moreLink = $this->createLink($moduleName, $method, $vars);
}