summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Model/ColumnMoveRestrictionModel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/ColumnMoveRestrictionModel.php b/app/Model/ColumnMoveRestrictionModel.php
index 0c337c06..69547539 100644
--- a/app/Model/ColumnMoveRestrictionModel.php
+++ b/app/Model/ColumnMoveRestrictionModel.php
@@ -159,8 +159,8 @@ class ColumnMoveRestrictionModel extends Base
$result = $this->db->table(self::TABLE)->persist(array(
'project_id' => $project_dst_id,
'role_id' => $role_dst_id,
- 'src_column_id' => $row['src_column_id'],
- 'dst_column_id' => $row['dst_column_id'],
+ 'src_column_id' => $src_column_id,
+ 'dst_column_id' => $dst_column_id,
'only_assigned' => (int) $row['only_assigned'],
));