* [refac bug #68659] Check isClickable when feedback convert to story.

This commit is contained in:
wangyidong
2025-12-29 10:29:44 +08:00
parent afce2ffb12
commit 52fe01ba0d
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -3926,8 +3926,8 @@ class ztSessionHandler implements SessionHandlerInterface
public function gc($maxlifeTime): int|false
{
/* API session never expires. */
if(!isset($this->config->sessionVar)) return 0;
if((defined('RUN_MODE') && RUN_MODE == 'api') || isset($_GET[$this->config->sessionVar])) return 0;
global $config;
if((defined('RUN_MODE') && RUN_MODE == 'api') || isset($_GET[$config->sessionVar])) return 0;
$time = time();
$count = 0;