diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2022-02-25 16:40:22 +0100 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2022-04-12 15:44:24 +0000 |
| commit | 995ad2d078fed0b881f84d3a4cd4a7697abeaf27 (patch) | |
| tree | 178236717505f97f51b7c3085f764c7a95564828 | |
| parent | b2ca873c74a5fe7438b0b89e4e984f0c5f454f31 (diff) | |
terms/index: fixed PHP8 warning
| -rw-r--r-- | app/controllers/terms.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/terms.php b/app/controllers/terms.php index bf98df0..e229ae2 100644 --- a/app/controllers/terms.php +++ b/app/controllers/terms.php @@ -26,6 +26,8 @@ class TermsController extends AuthenticatedController $this->compulsory = Config::get()->TERMS_CONFIG['compulsory']; + $this->denial_message = ''; + if (Request::isPost()) { CSRFProtection::verifyUnsafeRequest(); if (Request::submitted('accept')) { |
