*** empty log message ***
This commit is contained in:
parent
6a1b2d9ecd
commit
7d5f6d89bc
8 changed files with 49 additions and 32 deletions
|
@ -348,11 +348,11 @@ class uiBase
|
|||
}
|
||||
|
||||
|
||||
function _getMDataValue($id, $key, $langid=FALSE)
|
||||
function _getMDataValue($id, $key, $langid=FALSE, $deflangid=UI_DEFAULT_LANGID)
|
||||
{
|
||||
if (!$langid) $langid = $_SESSION['langid'];
|
||||
|
||||
if (is_array($arr = $this->gb->getMDataValue($id, $key, $this->sessid, $langid))) {
|
||||
if (is_array($arr = $this->gb->getMDataValue($id, $key, $this->sessid, $langid, $deflangid))) {
|
||||
$value = current($arr);
|
||||
return $value['value'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue