Merge branch 'lyk_feedback_1335' into 'master'

* Resolve feedback 1335.

See merge request easycorp/zentaopms!6026
This commit is contained in:
孙广明
2022-11-04 00:27:08 +00:00
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -3286,6 +3286,8 @@ class execution extends control
* @param int $storyID
* @param string $confirm yes|no
* @param string $from taskkanban
* @param int $laneID
* @param int $columnID
* @access public
* @return void
*/
+3 -1
View File
@@ -2863,6 +2863,8 @@ class executionModel extends model
*
* @param int $executionID
* @param int $storyID
* @param int $laneID
* @param int $columnID
* @access public
* @return void
*/
@@ -2886,7 +2888,7 @@ class executionModel extends model
->andWhere('lane')->eq($laneID)
->fetch();
/* Resolve signal ','. */
$cell->cards = str_replace(",$storyID", '', $cell->cards);
$cell->cards = str_replace(",$storyID,", ',', $cell->cards);
if(strlen($cell->cards) == 1) $cell->cards = '';
$this->dao->update(TABLE_KANBANCELL)->data($cell)
->where('kanban')->eq($executionID)