diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-05 09:47:44 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-05 09:47:44 +0100 |
commit | f2e759b53317a10c585c1dd123382f0f147af228 (patch) | |
tree | ce60dbf888cffe32b22575ab1f0eeba70cdf1d3a /lib/private/connector/sabre/principal.php | |
parent | 87762711037d66a6dfab0f82730645385f8e6e14 (diff) | |
parent | deedfad050c455926669e3f5e56a75deb19841e8 (diff) | |
download | nextcloud-server-f2e759b53317a10c585c1dd123382f0f147af228.tar.gz nextcloud-server-f2e759b53317a10c585c1dd123382f0f147af228.zip |
Merge pull request #13095 from derkostka/master
fix "app":"PHP","message":"Undefined variable: user at/principal.php#66"
Diffstat (limited to 'lib/private/connector/sabre/principal.php')
-rw-r--r-- | lib/private/connector/sabre/principal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/principal.php b/lib/private/connector/sabre/principal.php index fe17fb991ca..2bee83b1fcc 100644 --- a/lib/private/connector/sabre/principal.php +++ b/lib/private/connector/sabre/principal.php @@ -63,7 +63,7 @@ class OC_Connector_Sabre_Principal implements \Sabre\DAVACL\PrincipalBackend\Bac '{DAV:}displayname' => $name, ); - $email= \OCP\Config::getUserValue($user, 'settings', 'email'); + $email= \OCP\Config::getUserValue($name, 'settings', 'email'); if($email) { $principal['{http://sabredav.org/ns}email-address'] = $email; } |