修复discuz任务不能自动下线的BUG
漏洞发现者:赵哲漏洞修复者:赵哲
打开文件:source/class/table/table_common_task.php
搜索(约位于73行)
$status = "'".TIMESTAMP."' > starttime AND (mt.taskid IS NULL OR (ABS(mt.status)='1' AND t.period>0))";
替换成
$status = "'".TIMESTAMP."' > starttime AND (endtime=0 OR endtime>'".TIMESTAMP."') AND (mt.taskid IS NULL OR (ABS(mt.status)='1' AND t.period>0))"; 感谢分享
页:
[1]