diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-30 12:50:43 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-30 12:50:43 +0000 |
commit | 9751cf71e934ab2d240c6a9b5ed4fa9bbf430825 (patch) | |
tree | df1656a0ca8128545fb49386b2e4a7cc711bb332 /phpBB/includes/functions_messenger.php | |
parent | 28fe12956dc9dc2baa048bc40143e2dbacd7663e (diff) | |
download | forums-9751cf71e934ab2d240c6a9b5ed4fa9bbf430825.tar forums-9751cf71e934ab2d240c6a9b5ed4fa9bbf430825.tar.gz forums-9751cf71e934ab2d240c6a9b5ed4fa9bbf430825.tar.bz2 forums-9751cf71e934ab2d240c6a9b5ed4fa9bbf430825.tar.xz forums-9751cf71e934ab2d240c6a9b5ed4fa9bbf430825.zip |
empty is only accepting vars
git-svn-id: file:///svn/phpbb/trunk@5867 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r-- | phpBB/includes/functions_messenger.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index db647aba60..13d604c1e9 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -915,7 +915,8 @@ class smtp_class global $user; $err_msg = ''; - $local_host = (empty(php_uname('n'))) ? 'localhost' : php_uname('n'); + $local_host = php_uname('n'); + $local_host = (empty($local_host)) ? 'localhost' : $local_host; // If we are authenticating through pop-before-smtp, we // have to login ones before we get authenticated |