浏览代码

Update index.php (#4653)

chansizzle 6 年之前
父节点
当前提交
f42d5d511e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 />";