Commit 1352bb51cd7d2b821dc3d26658f9eb2bb2eb893d

Authored by Leandro Arndt
1 parent e3b1c4d3
Exists in mysqli and in 1 other branch issue_21

Verificação de campos obrigatórios corrigida

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
instalar/index.php
... ... @@ -26,9 +26,9 @@ if ( (is_writable("../inc/config.php") and is_writable("../restrito/inc/config.p
26 26 $dbuser = $_POST["dbuser"];
27 27 $dbpass = $_POST["dbpass"];
28 28 $dbname = $_POST["dbname"];
29   - $phpmailer = $_POST["phpmailer"] == "phpmailer" ? "true" : "false";
  29 + $phpmailer = $_POST["phpmailer"] == "phpmailer" ? true : false;
30 30 $smtphost = $_POST["smtpport"] != "" ? $_POST["smtphost"].":".$_POST["smtpport"] : $_POST["smtphost"];
31   - $smtpauth = $_POST["smtpauth"] == "smtpauth" ? "true" : "false";
  31 + $smtpauth = $_POST["smtpauth"] == "smtpauth" ? true : false;
32 32 $smtpuser = $_POST["smtpuser"];
33 33 $smtppwd = $_POST["smtppwd"];
34 34  
... ... @@ -204,4 +204,4 @@ include("../inc/topo.php");
204 204 <?php
205 205 }
206 206 include("../inc/rodape.php");
207   -?>
208 207 \ No newline at end of file
  208 +?>
... ...