瀏覽代碼

#978 Email test utility always reporting "default SMTP port"

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3312 a333f486-631f-4898-b8df-5754b55c2be0
romainq 11 年之前
父節點
當前提交
7d578cf2cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup/email.test.php

+ 1 - 1
setup/email.test.php

@@ -76,7 +76,7 @@ function CheckEmailSetting($oP)
 			$oP->info("The SMTP port is not defined. Please add the 'smtp_port' directive into $sPhpIniFile");
 			$bRet = false;
 		}
-		else if ($iSmtpPort = 25)
+		else if ($iSmtpPort == 25)
 		{
 			$oP->info("Your SMTP port is configured to the default value: 25. You might want to set or change the 'smtp_port' directive into $sPhpIniFile");
 		}