diff --git a/app/destinations/destination_download.php b/app/destinations/destination_download.php index da7a389368..83d8dd5ffb 100644 --- a/app/destinations/destination_download.php +++ b/app/destinations/destination_download.php @@ -110,7 +110,7 @@ } //get the extensions from the database and send them as output - if (is_array($_REQUEST["column_group"]) && @sizeof($_REQUEST["column_group"]) != 0) { + if (!empty($_REQUEST["column_group"]) && is_array($_REQUEST["column_group"]) && @sizeof($_REQUEST["column_group"]) != 0) { //validate the token $token = new token; @@ -166,7 +166,7 @@ echo "
| \n"; - echo " \n"; + echo " \n"; echo " | \n"; echo "".$text['label-column_name']." | \n"; echo "
|---|---|
| \n"; echo " \n"; echo " | \n";