mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
empty is only accepting vars
git-svn-id: file:///svn/phpbb/trunk@5867 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
28fe12956d
commit
9751cf71e9
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue