Skip to content
Snippets Groups Projects
Commit 986f5d9f authored by Thomas Müller's avatar Thomas Müller
Browse files

fixing variable name

parent 84ba66e9
No related branches found
No related tags found
No related merge requests found
...@@ -202,8 +202,8 @@ class Util { ...@@ -202,8 +202,8 @@ class Util {
public static function getDefaultEmailAddress($user_part) { public static function getDefaultEmailAddress($user_part) {
$host_name = self::getServerHostName(); $host_name = self::getServerHostName();
// handle localhost installations // handle localhost installations
if ($server_host === 'localhost') { if ($host_name === 'localhost') {
$server_host = "example.com"; $host_name = "example.com";
} }
return $user_part.'@'.$host_name; return $user_part.'@'.$host_name;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment