Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

页面点击报错 #140

Closed
kinbod opened this issue May 31, 2024 · 4 comments
Closed

页面点击报错 #140

kinbod opened this issue May 31, 2024 · 4 comments

Comments

@kinbod
Copy link

kinbod commented May 31, 2024

描述 (Description)

设置页面显示条数后,出现报错

期望 (Expectation)

正常显示

结果 (Result)

c5293dda639808dce5421e81545cc2b

软件版本 (Software version)

20.0

@kinbod
Copy link
Author

kinbod commented May 31, 2024

这个错误频率很高

@fireware
Copy link
Collaborator

fireware commented May 31, 2024

已收到问题,将会在下个版本修复。

应急方案:找到 zentaopms/module/testtask/control.php 第 401 行,将 $this->cookie->taskCaseModule 强转为 int,修改后的代码如下

$moduleID = ($browseType == 'bymodule') ? $param : ($browseType == 'bysearch' ? 0 : ((int)$this->cookie->taskCaseModule ?: 0));

@kinbod
Copy link
Author

kinbod commented Jun 3, 2024

就是这里的问题

@sy-records
Copy link
Collaborator

Fixed via 9667d69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants