Skip to content

Commit

Permalink
fix(form): access rights checking
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh authored and btry committed Dec 18, 2018
1 parent 6270c5b commit e05e20b
Showing 1 changed file with 1 addition 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

0 comments on commit e05e20b

Please sign in to comment.