* Fix bug #19312.
This commit is contained in:
@@ -1317,6 +1317,7 @@ class kanban extends control
|
||||
if($confirm == 'no')
|
||||
{
|
||||
$card = $this->kanban->getCardByID($cardID);
|
||||
a($card);
|
||||
$column = $this->dao->select('*')->from(TABLE_KANBANCOLUMN)->where('id')->eq($card->column)->fetch();
|
||||
if($column->archived or $column->deleted) die(js::alert(sprintf($this->lang->kanbancard->confirmRestoreTip, $column->name)));
|
||||
|
||||
|
||||
@@ -438,6 +438,7 @@ class kanbanModel extends model
|
||||
->add('kanban', $kanbanID)
|
||||
->add('region', $regionID)
|
||||
->add('group', $groupID)
|
||||
->add('column', $columnID)
|
||||
->add('createdBy', $this->app->user->account)
|
||||
->add('createdDate', $now)
|
||||
->add('assignedDate', $now)
|
||||
@@ -2036,7 +2037,7 @@ class kanbanModel extends model
|
||||
$lane->type = $type;
|
||||
$lane->execution = $executionID;
|
||||
$this->dao->insert(TABLE_KANBANLANE)->data($lane)->exec();
|
||||
|
||||
|
||||
$laneID = $this->dao->lastInsertId();
|
||||
$this->createExecutionColumns($laneID, $type, $executionID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user