* [bug#51246,done,0.2h,0h] The idvalue of the todo table has been changed to objectID.

This commit is contained in:
wangyuting
2024-06-18 15:58:00 +08:00
committed by 刘刚
parent fab33da84f
commit c8ecf52c6b
+2 -2
View File
@@ -538,8 +538,8 @@ class storyModel extends model
if($this->config->edition != 'open')
{
$todo = $this->dao->select('type, idvalue')->from(TABLE_TODO)->where('id')->eq($todoID)->fetch();
if($todo->type == 'feedback' && $todo->idvalue) $this->loadModel('feedback')->updateStatus('todo', $todo->idvalue, 'done');
$todo = $this->dao->select('type, objectID')->from(TABLE_TODO)->where('id')->eq($todoID)->fetch();
if($todo->type == 'feedback' && $todo->objectID) $this->loadModel('feedback')->updateStatus('todo', $todo->objectID, 'done');
}
}