Skip to content

Commit

Permalink
fix(targetchange): may return null instead of string
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Mar 26, 2021
1 parent c143c5c commit c5c05c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/targetchange.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ public function save(PluginFormcreatorFormAnswer $formanswer) {
$formanswer,
$changeField == 'content' // only content supports rich text
);
$data[$changeField] = $data[$changeField] ?? '';

$data[$changeField] = $formanswer->parseTags($data[$changeField], $this, $changeField == 'content');
}
Expand Down

0 comments on commit c5c05c3

Please sign in to comment.