From 2c69095a1edf7474073451285238659d0f62ce3f Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Sun, 25 Sep 2022 13:30:13 +1000 Subject: PHP8.1 fixes from Rector --- templates/themes/staffapplication/staffapplicationpost.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'templates/themes/staffapplication/staffapplicationpost.php') diff --git a/templates/themes/staffapplication/staffapplicationpost.php b/templates/themes/staffapplication/staffapplicationpost.php index 0e1b14ca..4d850cc2 100644 --- a/templates/themes/staffapplication/staffapplicationpost.php +++ b/templates/themes/staffapplication/staffapplicationpost.php @@ -43,12 +43,6 @@ $displaymessage = "

ANTISPAM NOT SET

\r\n"; } $displaymessage .= '[ Return Home ]'; -echo Element('page.html', array( - 'index' => $config['root'], - 'title' => _('Staff Application'), - 'config' => $config, - 'boardlist' => createBoardlist(isset($mod) ? $mod : false), - 'body' => $displaymessage, - ) +echo Element('page.html', ['index' => $config['root'], 'title' => _('Staff Application'), 'config' => $config, 'boardlist' => createBoardlist($mod ?? false), 'body' => $displaymessage] ); ?> -- cgit v1.3