We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9be2f4 commit 69088c0Copy full SHA for 69088c0
1 file changed
inc/form.class.php
@@ -2814,7 +2814,7 @@ public function getBestLanguage() {
2814
*
2815
* @return boolean true if the user can use the form
2816
*/
2817
- public function canViewForRequest(): bool {
+ public function canViewForRequest(): bool {
2818
global $PLUGIN_HOOKS;
2819
2820
if ($this->isNewItem()) {
@@ -2838,7 +2838,7 @@ public function canViewForRequest(): bool {
2838
2839
// Check restrictions if needed
2840
if ($this->fields['access_rights'] == self::ACCESS_RESTRICTED
2841
- && !PluginFormcreatorFormAccessType::canSeeRestrictedForm($this)
+ && !PluginFormcreatorFormAccessType::canSeeRestrictedForm($this)
2842
) {
2843
return false;
2844
}
0 commit comments