* Fix bug #2441.
This commit is contained in:
@@ -105,7 +105,7 @@ class taskModel extends model
|
||||
/* Check duplicate task. */
|
||||
if($task->type != 'affair' and $task->name)
|
||||
{
|
||||
$result = $this->loadModel('common')->removeDuplicate('task', $task, "execution={$executionID} and story=" . (int)$task->story);
|
||||
$result = $this->loadModel('common')->removeDuplicate('task', $task, "execution={$executionID} and story=" . (int)$task->story . (isset($task->feedback) ? " and feedback=" . (int)$task->feedback : ''));
|
||||
if($result['stop'])
|
||||
{
|
||||
$taskIdList[$assignedTo] = array('status' => 'exists', 'id' => $result['duplicate']);
|
||||
|
||||
Reference in New Issue
Block a user