Skip to content

Commit

Permalink
Merge branch '2.7.0/fixes' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Dec 18, 2018
2 parents 6270c5b + 8355480 commit 43cf75c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ public function prepareInputForUpdate($input) {
|| isset($input['usage_count'])) {

if (isset($input['access_rights'])
&& $input['access_right'] == self::ACCESS_PUBLIC
&& $input['access_rights'] == self::ACCESS_PUBLIC
) {
// check that accessibility to eh form is compatible with its questions
$question = new PluginFormcreatorQuestion();
Expand Down
1 change: 1 addition & 0 deletions inc/targetticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,7 @@ public function save(PluginFormcreatorFormAnswer $formanswer) {
$richText
);

$data['content'] = Toolbox::addslashes_deep($data['content']);
$data['content'] = $this->parseTags($data['content'], $formanswer, $richText);

$data['_users_id_recipient'] = $_SESSION['glpiID'];
Expand Down

0 comments on commit 43cf75c

Please sign in to comment.