* adjust for tid.
This commit is contained in:
@@ -1001,7 +1001,11 @@ class baseRouter
|
||||
|
||||
$this->sessionID = isset($ztSessionHandler) ? $ztSessionHandler->getSessionID() : session_id();
|
||||
|
||||
if(isset($_GET[$this->config->sessionVar])) helper::restartSession($_GET[$this->config->sessionVar]);
|
||||
if(isset($_GET[$this->config->sessionVar]))
|
||||
{
|
||||
helper::restartSession($_GET[$this->config->sessionVar]);
|
||||
$this->sessionID = isset($ztSessionHandler) ? $ztSessionHandler->getSessionID() : session_id();
|
||||
}
|
||||
|
||||
define('SESSION_STARTED', true);
|
||||
}
|
||||
|
||||
@@ -257,6 +257,7 @@ if($isCustomExport)
|
||||
{
|
||||
$field = trim($field);
|
||||
$exportFieldPairs[$field] = isset($moduleLang->$field) ? $moduleLang->$field : (isset($lang->$field) ? $lang->$field : $field);
|
||||
if(!is_string($exportFieldPairs[$field])) $exportFieldPairs[$field] = $field;
|
||||
if(!$hasDefaultField)$selectedFields[] = $field;
|
||||
}
|
||||
js::set('defaultExportFields', join(',', $selectedFields));
|
||||
|
||||
@@ -36,6 +36,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
url = url.replace('?onlybody=yes&', '?');
|
||||
url = url.replace('?onlybody=yes', '?');
|
||||
url = url.replace('&onlybody=yes', '');
|
||||
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user