Skip to content

Commit

Permalink
style: indentatin
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Oct 24, 2022
1 parent f9be2f4 commit 69088c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2814,7 +2814,7 @@ public function getBestLanguage() {
*
* @return boolean true if the user can use the form
*/
public function canViewForRequest(): bool {
public function canViewForRequest(): bool {
global $PLUGIN_HOOKS;

if ($this->isNewItem()) {
Expand All @@ -2838,7 +2838,7 @@ public function canViewForRequest(): bool {

// Check restrictions if needed
if ($this->fields['access_rights'] == self::ACCESS_RESTRICTED
&& !PluginFormcreatorFormAccessType::canSeeRestrictedForm($this)
&& !PluginFormcreatorFormAccessType::canSeeRestrictedForm($this)
) {
return false;
}
Expand Down

0 comments on commit 69088c0

Please sign in to comment.