summaryrefslogtreecommitdiff
path: root/templates/themes/staffapplication/staffapplicationpost.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:30:13 +1000
committerAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:30:13 +1000
commit2c69095a1edf7474073451285238659d0f62ce3f (patch)
tree5dee476605402c66dc2853d0836b29f6aedae62b /templates/themes/staffapplication/staffapplicationpost.php
parente9a61e2fbbd930eaa80d6a5f33420cedc59d748c (diff)
PHP8.1 fixes from Rector
Diffstat (limited to 'templates/themes/staffapplication/staffapplicationpost.php')
-rw-r--r--templates/themes/staffapplication/staffapplicationpost.php8
1 files changed, 1 insertions, 7 deletions
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 = "<p style=\"text-align:center;\">ANTISPAM NOT SET</p>\r\n";
}
$displaymessage .= '<span style="text-align:center; display: block;" >[ <a href="https://lainchan.org/"> Return Home </a> ]</span>';
-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]
);
?>