[Pkg-owncloud-commits] [owncloud] 249/394: Fixes incorrect variable name

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit b9199b8f9801a727b6e5dd62344978534ac7b9a1
Author: Randolph Carter <RandolphCarter at fantasymail.de>
Date:   Fri Dec 21 01:46:07 2012 +0100

    Fixes incorrect variable name
---
 lib/public/util.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/public/util.php b/lib/public/util.php
index 51b6d12..dbf010d 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;
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list