mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
Merge branch 'develop' into hooks
This commit is contained in:
commit
d0118f9b9d
|
@ -105,7 +105,7 @@ class SeedDMS_Session {
|
|||
$this->data = $data;
|
||||
$this->data['id'] = $id;
|
||||
$this->data['lastaccess'] = $lastaccess;
|
||||
$this->data['su'] = $su;
|
||||
$this->data['su'] = 0;
|
||||
$this->data['clipboard'] = array('docs'=>array(), 'folders'=>array());
|
||||
return $id;
|
||||
} /* }}} */
|
||||
|
|
|
@ -74,8 +74,10 @@ function getMLText($key, $replace = array(), $defaulttext = "", $lang="") { /* {
|
|||
|
||||
if(!isset($LANG[$lang][$key])) {
|
||||
if (!$defaulttext) {
|
||||
$tmpText = $LANG[$settings->_language][$key];
|
||||
// return "Error getting Text: " . $key . " (" . $lang . ")";
|
||||
if(isset($LANG[$settings->_language][$key]))
|
||||
$tmpText = $LANG[$settings->_language][$key];
|
||||
else
|
||||
$tmpText = '';
|
||||
} else
|
||||
$tmpText = $defaulttext;
|
||||
} else
|
||||
|
|
Loading…
Reference in New Issue
Block a user