svncommit
2007-09-20 9b54e0b2a52df7e993800f8c463772f291a18d55
Fix order of checks.


1 files modified
2 ■■■ changed files
program/include/rcube_smtp.inc 2 ●●● patch | view | raw | blame | history
program/include/rcube_smtp.inc
@@ -76,7 +76,7 @@
  // create Net_SMTP object and connect to server
  if (!is_object($smtp_conn))
    {
    $helo_host = !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : (!empty($CONFIG['smtp_helo_host']) ? $CONFIG['smtp_helo_host'] : 'localhost');
    $helo_host = empty($CONFIG['smtp_helo_host']) ? (empty($_SERVER['SERVER_NAME']) ? 'localhost' : $_SERVER['SERVER_NAME']) : $CONFIG['smtp_helo_host'];
    $SMTP_CONN = new Net_SMTP($smtp_host, $smtp_port, $helo_host);
    // set debugging