* adjust for tid.

This commit is contained in:
wangyidong
2022-05-24 15:53:57 +08:00
parent e56bd44299
commit b072234b4d
3 changed files with 10 additions and 1 deletions
+5 -1
View File
@@ -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);
}
+1
View File
@@ -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));
+4
View File
@@ -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;