Ver Fonte

Update index.php (#4653)

chansizzle há 6 anos atrás
pai
commit
f42d5d511e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      core/upgrade/index.php

+ 1 - 1
core/upgrade/index.php

@@ -247,7 +247,7 @@
 	echo "</form>\n";
 
 	echo "<br /><br />";
-	if (is_array($_SESSION["response"])) {
+	if (!empty($_SESSION["response"]) && is_array($_SESSION["response"])) {
 		foreach($_SESSION["response"] as $part => $response){
 			echo "<b>". $text["label-results"]." - ".$text["label-${part}"]."</b>";
 			echo "<br /><br />";