소스 검색

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) {