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
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment