]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Emailer.php
spelling: parameter
[friendica.git] / src / Util / Emailer.php
index d1973237d12cc2bd5d60777e429b019b0ba62f49..5e4d98d4c9e83e18ca46ebac609dd7e7d1b76658 100644 (file)
@@ -65,7 +65,7 @@ class Emailer
 
                $this->siteEmailAddress = $this->config->get('config', 'sender_email');
                if (empty($this->siteEmailAddress)) {
-                       $hostname = $this->baseUrl->getHostname();
+                       $hostname = $this->baseUrl->getHost();
                        if (strpos($hostname, ':')) {
                                $hostname = substr($hostname, 0, strpos($hostname, ':'));
                        }