This commit is contained in:
sebastian 2005-06-09 13:48:37 +00:00
parent b2bcbd8e18
commit 54be542f05
8 changed files with 107 additions and 68 deletions

View file

@ -349,8 +349,8 @@ class uiBase
function _getMDataValue($id, $key, $langid=FALSE)
{
if ($langid===FALSE) $langid = $_SESSION['langid'];
{
if (!$langid) $langid = $_SESSION['langid'];
if (is_array($arr = $this->gb->getMDataValue($id, $key, $this->sessid, $langid))) {
$value = current($arr);