From e0ccb81dd8fff0f742659a0c2fa6bbbabe4021f4 Mon Sep 17 00:00:00 2001 From: fusionate Date: Wed, 24 May 2023 21:21:58 +0000 Subject: [PATCH] Device - Export: Updates for PHP 8.1 --- app/devices/device_download.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/devices/device_download.php b/app/devices/device_download.php index ebdc058c56..0d799be0cb 100644 --- a/app/devices/device_download.php +++ b/app/devices/device_download.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2020 + Portions created by the Initial Developer are Copyright (C) 2008-2023 the Initial Developer. All Rights Reserved. Contributor(s): @@ -113,7 +113,7 @@ $available_columns['device_lines'][] = 'enabled'; //get the devices and send them as output - $column_group = $_REQUEST["column_group"]; + $column_group = $_REQUEST["column_group"] ?? null; if (is_array($column_group) && @sizeof($column_group) != 0) { //validate the token @@ -217,13 +217,13 @@ echo "\n"; echo "\n"; echo " \n"; echo " \n"; echo "\n"; foreach ($columns as $column_name) { $list_row_onclick = "if (!this.checked) { document.getElementById('checkbox_all').checked = false; }"; - echo "\n"; + echo "\n"; echo " \n";
\n"; - echo " \n"; + echo " \n"; echo " ".$text['label-column_name']."
\n"; echo " \n"; echo "