Explorar o código

Add an elseif.

Mark Crane %!s(int64=12) %!d(string=hai) anos
pai
achega
3b95d1c74a
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  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) {