* [bug#68194] Fix the bug of create bug in project.
This commit is contained in:
+2
-2
@@ -640,7 +640,7 @@ class bugZen extends bug
|
||||
->setIF($formData->data->assignedTo != '', 'assignedDate', helper::now())
|
||||
->setIF($formData->data->story !== false, 'storyVersion', $this->loadModel('story')->getVersion((int)$formData->data->story))
|
||||
->setIF($this->post->project, 'project', $this->post->project)
|
||||
->setIF($this->post->project, 'execution', $this->post->execution)
|
||||
->setIF($this->post->execution, 'execution', $this->post->execution)
|
||||
->get();
|
||||
|
||||
if($this->post->fromCase && $this->post->fromCase != $formData->data->case)
|
||||
@@ -1966,7 +1966,7 @@ class bugZen extends bug
|
||||
$this->loadModel('kanban');
|
||||
|
||||
if(!empty($laneID) and !empty($columnID)) $this->kanban->addKanbanCell($executionID, $laneID, $columnID, 'bug', (string)$bugID);
|
||||
if(empty($laneID) or empty($columnID)) $this->kanban->updateLane($executionID, 'bug');
|
||||
if(empty($laneID) or empty($columnID)) $this->kanban->updateLane((int)$executionID, 'bug');
|
||||
}
|
||||
|
||||
/* Callback the callable method to process the related data for object that is transfered to bug. */
|
||||
|
||||
Reference in New Issue
Block a user