summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-04-22 11:10:10 +0000
committerfisharebest <fisharebest@gmail.com>2010-04-22 11:10:10 +0000
commit1c27fae148d899079f5fc719858b9aa18971146d (patch)
tree4a32f03133d165b22fb1bdc2a03001d379010fcc
parent228bd89c76704ae0845c3f49e0b04da92dbed489 (diff)
downloadwebtrees-1c27fae148d899079f5fc719858b9aa18971146d.tar.gz
webtrees-1c27fae148d899079f5fc719858b9aa18971146d.tar.bz2
webtrees-1c27fae148d899079f5fc719858b9aa18971146d.zip
Fix: STMP_ACTIVE not initialised correctly
-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'], "'")."'),".