diff --git a/app/extensions/extension_download.php b/app/extensions/extension_download.php index 4dcac78e77..4bfad25831 100644 --- a/app/extensions/extension_download.php +++ b/app/extensions/extension_download.php @@ -132,7 +132,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; @@ -188,16 +188,16 @@ echo "
| \n"; - echo " \n"; + echo " \n"; echo " | \n"; echo "".$text['label-column_name']." | \n"; echo "
|---|---|
| \n"; echo " \n"; echo " | \n"; @@ -215,4 +215,4 @@ //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file