Commit 20b5e14
John Pinto
Fix for bug in Plan duplication results in original plan identifier being copied.
Changes (suggested by @aaronskiba):
- removed an unnecessary line
plan_copy.identifier = nil
- cast to string the integer-valued plan id
plan_copy.identifier = plan_copy.id.to_s1 parent 36e5b7d commit 20b5e14
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | 257 | | |
260 | 258 | | |
261 | | - | |
| 259 | + | |
262 | 260 | | |
263 | 261 | | |
264 | 262 | | |
| |||
0 commit comments