]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing variable name
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 20 Dec 2012 23:04:46 +0000 (00:04 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 20 Dec 2012 23:04:58 +0000 (00:04 +0100)
lib/public/util.php

index 9727cfda2843058b8066db53bd3f532d1bb2c7d2..af782b014835c1cf25f795de3bc7420458a9b68b 100644 (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;
        }