summaryrefslogtreecommitdiff
path: root/banned.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 /banned.php
parente9a61e2fbbd930eaa80d6a5f33420cedc59d748c (diff)
PHP8.1 fixes from Rector
Diffstat (limited to 'banned.php')
-rw-r--r--banned.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/banned.php b/banned.php
index 7e1f47f1..092820dc 100644
--- a/banned.php
+++ b/banned.php
@@ -4,11 +4,7 @@
//If the user is not banned, show the "not banned" page.
die(
- Element('page.html', array(
- 'title' => _('Not banned!'),
- 'config' => $config,
- 'nojavascript' => true,
- 'body' => Element('notbanned.html', array()
- ))
+ Element('page.html', ['title' => _('Not banned!'), 'config' => $config, 'nojavascript' => true, 'body' => Element('notbanned.html', []
+ )]
));
?>