Skip to content

Commit

Permalink
Dev: Don't assume script is set
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Feb 9, 2021
1 parent 78449c4 commit 68aaad4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2525,7 +2525,7 @@ private function applyL10n($oQuestion, $dataSet)
[
'question' => $aI10NBlock['question'],
'help' => $aI10NBlock['help'],
'script' => $aI10NBlock['script'],
'script' => isset($aI10NBlock['script']) ? $aI10NBlock['script'] : ''
],
false
);
Expand Down

2 comments on commit 68aaad4

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a mantis for this
And : warning with XSS enable user

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.