* fix a bug for group byModule.

This commit is contained in:
wangyidong
2013-01-07 03:16:43 +00:00
parent ed79e81862
commit 833f89610d

View File

@@ -126,7 +126,7 @@ class group extends control
$this->view->type = $type;
foreach($this->lang->resource as $moduleName => $action)
{
if($this->group->checkMenuModule($menu, $moduleName)) $this->app->loadLang($moduleName);
if($this->group->checkMenuModule($menu, $moduleName) or $type != 'byGroup') $this->app->loadLang($moduleName);
}
if(!empty($_POST))