* [bug#51246,done,0.2h,0h] The idvalue of the todo table has been changed to objectID.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user