Skip to content

Commit

Permalink
fix(targetchange): fix reversed condition
Browse files Browse the repository at this point in the history
breaks change generation
  • Loading branch information
btry committed Dec 12, 2017
1 parent c807936 commit e2288bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/targetchange.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ public function save(PluginFormcreatorForm_Answer $formanswer) {
];
foreach ($changeFields as $changeField) {
//TODO: 2.7.0 rename PluginFormcreatorTargetChange's comment into content
if ($changeField == 'content') {
if ($changeField != 'content') {
// This handles mismatch of the column content in Change itemtype and comment in TargetChange itemtype
$data[$changeField] = $this->fields[$changeField];
} else {
Expand Down

0 comments on commit e2288bf

Please sign in to comment.