Merge branch 'feedback_1869' into 'master'
* Resolve feedback#1869 See merge request easycorp/zentaopms!6698
This commit is contained in:
@@ -48,7 +48,19 @@ class custom extends control
|
||||
$currentLang = $this->app->getClientLang();
|
||||
|
||||
$this->app->loadLang($module);
|
||||
$fieldList = zget($this->lang->$module, $field, '');
|
||||
if($lang == 'all')
|
||||
{
|
||||
$fieldList = array();
|
||||
$items = $this->custom->getItems("lang=all&module=$module§ion=$field&vision={$this->config->vision}");
|
||||
foreach($items as $key => $item)
|
||||
{
|
||||
$fieldList[$key] = $item->value;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$fieldList = zget($this->lang->$module, $field, '');
|
||||
}
|
||||
|
||||
if($module == 'project' and $field == 'unitList')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user