浏览代码

Add an elseif.

Mark Crane 12 年之前
父节点
当前提交
3b95d1c74a
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      core/upgrade/upgrade.php

+ 3 - 4
core/upgrade/upgrade.php

@@ -89,10 +89,9 @@ if ($display_type == 'text') {
 		echo "<br />\n";
 		echo "<br />\n";
 	}
-
-if ($display_type == 'text') {
-	echo "\n";
-}
+	elseif ($display_type == 'text') {
+		echo "\n";
+	}
 
 //include the footer
 	if ($display_results) {