From 223ed8fc0a283178b97f2ccde4a32467ac8762a1 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 23 Feb 2021 09:20:43 -0800 Subject: [PATCH] Removed PHP8-only code. --- e107_admin/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_admin/theme.php b/e107_admin/theme.php index 1e3d4a15f..79a8d95bd 100644 --- a/e107_admin/theme.php +++ b/e107_admin/theme.php @@ -257,7 +257,7 @@ class theme_admin extends e_admin_dispatcher /** * @return array */ - private function getAllRoutes(): array + private function getAllRoutes() { $legacy = array( @@ -1172,7 +1172,7 @@ class theme_admin_form_ui extends e_admin_form_ui e107::getSession()->set('thememanager/online/'.$theme['id'], $theme); - $d = http_build_query($srcData,false,'&'); + $d = http_build_query($srcData,false); $base64 = base64_encode($d); $id = $this->name2id($theme['name']);