* Fix bug #15907.
This commit is contained in:
@@ -1176,7 +1176,7 @@ class actionModel extends model
|
||||
$api = $this->dao->select('id,lib,module')->from(TABLE_API)->where('id')->eq($action->objectID)->fetch();
|
||||
$params = sprintf($vars, $api->lib, $api->module, $api->id);
|
||||
}
|
||||
elseif($action->objectType == 'kanbancoloumn' or $action->objectType == 'kanbanlane')
|
||||
elseif($action->objectType == 'kanbancolumn' or $action->objectType == 'kanbanlane')
|
||||
{
|
||||
$params = sprintf($vars, $action->extra);
|
||||
}
|
||||
|
||||
@@ -77,10 +77,11 @@ class kanban extends control
|
||||
* Set lane column info.
|
||||
*
|
||||
* @param int $columnID
|
||||
* @param int $executionID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setColumn($columnID)
|
||||
public function setColumn($columnID, $executionID = 0)
|
||||
{
|
||||
$column = $this->kanban->getColumnById($columnID);
|
||||
|
||||
@@ -97,7 +98,7 @@ class kanban extends control
|
||||
if(dao::isError()) return $this->sendError(dao::getError());
|
||||
if($changes)
|
||||
{
|
||||
$actionID = $this->loadModel('action')->create('kanbancolumn', $columnID, 'Edited');
|
||||
$actionID = $this->loadModel('action')->create('kanbancolumn', $columnID, 'Edited', '', $executionID);
|
||||
$this->action->logHistory($actionID, $changes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user