diff --git a/core/upgrade/index.php b/core/upgrade/index.php
index be0a5c91ce..dbddbcf339 100644
--- a/core/upgrade/index.php
+++ b/core/upgrade/index.php
@@ -247,7 +247,7 @@
echo "\n";
echo "
";
- if (is_array($_SESSION["response"])) {
+ if (!empty($_SESSION["response"]) && is_array($_SESSION["response"])) {
foreach($_SESSION["response"] as $part => $response){
echo "". $text["label-results"]." - ".$text["label-${part}"]."";
echo "
";