From: Thomas Müller Date: Thu, 20 Dec 2012 23:04:46 +0000 (+0100) Subject: fixing variable name X-Git-Tag: v5.0.0alpha1~289 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=986f5d9f3e330f52a068ba916a10ea938a80ad41;p=nextcloud-server.git fixing variable name --- diff --git a/lib/public/util.php b/lib/public/util.php index 9727cfda284..af782b01483 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -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; }