summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.php b/setup.php
index 76eb1290e1..efa7f209a9 100644
--- a/setup.php
+++ b/setup.php
@@ -993,7 +993,7 @@ try {
"('MAX_VIEW_TIME', '1'),".
"('MEMORY_LIMIT', '".addcslashes($_POST['maxmem'], "'")."M'),".
"('MAX_EXECUTION_TIME', '".addcslashes($_POST['maxcpu'], "'")."'),".
- "('SMTP_ACTIVE', '".($_POST['smtpuse']==1)."'),".
+ "('SMTP_ACTIVE', '".addcslashes($_POST['smtpuse'], "'")."'),".
"('SMTP_HOST', '".addcslashes($_POST['smtpserv'], "'")."'),".
"('SMTP_HELO', '".addcslashes($_POST['smtpsender'], "'")."'),".
"('SMTP_PORT', '".addcslashes($_POST['smtpport'], "'")."'),".