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 --- banned.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'banned.php') 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', [] + )] )); ?> -- cgit v1.3