Fix custom roles duplication
The source_column_id and destination_column_id are searched into the correct project: the newly created one.
This commit is contained in:
parent
dea1f85d36
commit
961486ae89
|
|
@ -159,8 +159,8 @@ class ColumnMoveRestrictionModel extends Base
|
||||||
$result = $this->db->table(self::TABLE)->persist(array(
|
$result = $this->db->table(self::TABLE)->persist(array(
|
||||||
'project_id' => $project_dst_id,
|
'project_id' => $project_dst_id,
|
||||||
'role_id' => $role_dst_id,
|
'role_id' => $role_dst_id,
|
||||||
'src_column_id' => $row['src_column_id'],
|
'src_column_id' => $src_column_id,
|
||||||
'dst_column_id' => $row['dst_column_id'],
|
'dst_column_id' => $dst_column_id,
|
||||||
'only_assigned' => (int) $row['only_assigned'],
|
'only_assigned' => (int) $row['only_assigned'],
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue