From 995ad2d078fed0b881f84d3a4cd4a7697abeaf27 Mon Sep 17 00:00:00 2001 From: Moritz Strohm Date: Fri, 25 Feb 2022 16:40:22 +0100 Subject: terms/index: fixed PHP8 warning --- app/controllers/terms.php | 2 ++ 1 file changed, 2 insertions(+) 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')) { -- cgit v1.0