From 1352bb51cd7d2b821dc3d26658f9eb2bb2eb893d Mon Sep 17 00:00:00 2001 From: Leandro Arndt Date: Wed, 3 Feb 2016 14:34:07 -0200 Subject: [PATCH] Verificação de campos obrigatórios corrigida --- instalar/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/instalar/index.php b/instalar/index.php index 820644d..7ec3f87 100644 --- a/instalar/index.php +++ b/instalar/index.php @@ -26,9 +26,9 @@ if ( (is_writable("../inc/config.php") and is_writable("../restrito/inc/config.p $dbuser = $_POST["dbuser"]; $dbpass = $_POST["dbpass"]; $dbname = $_POST["dbname"]; - $phpmailer = $_POST["phpmailer"] == "phpmailer" ? "true" : "false"; + $phpmailer = $_POST["phpmailer"] == "phpmailer" ? true : false; $smtphost = $_POST["smtpport"] != "" ? $_POST["smtphost"].":".$_POST["smtpport"] : $_POST["smtphost"]; - $smtpauth = $_POST["smtpauth"] == "smtpauth" ? "true" : "false"; + $smtpauth = $_POST["smtpauth"] == "smtpauth" ? true : false; $smtpuser = $_POST["smtpuser"]; $smtppwd = $_POST["smtppwd"]; @@ -204,4 +204,4 @@ include("../inc/topo.php"); \ No newline at end of file +?> -- libgit2 0.21.2