fixing variable name

This commit is contained in:
Thomas Müller 2012-12-21 00:04:46 +01:00
parent 84ba66e9b7
commit 986f5d9f3e
1 changed files with 2 additions and 2 deletions

View File

@ -202,8 +202,8 @@ class Util {
public static function getDefaultEmailAddress($user_part) {
$host_name = self::getServerHostName();
// handle localhost installations
if ($server_host === 'localhost') {
$server_host = "example.com";
if ($host_name === 'localhost') {
$host_name = "example.com";
}
return $user_part.'@'.$host_name;
}