Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-12-29 23:15:37 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-02 11:47:54 +0300
commitf801dc8a6da6f88e69ae4461f6b752587f5b7f75 (patch)
treeed1cad9e6fd221ba0cba08c756e05203df1e6863 /settings
parente037bae7ad4956dd9a5ad74c19a0b0fcd9e1a170 (diff)
Fix mail attribute
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 5167e18aac5..0a6e86ed701 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -803,8 +803,8 @@ OC.Settings.Apps = OC.Settings.Apps || {
if (!_.isUndefined(app.author['@attributes']['homepage'])) {
authors.push(app.author['@attributes']['homepage']);
}
- if (!_.isUndefined(app.author['@attributes']['email'])) {
- authors.push(app.author['@attributes']['email']);
+ if (!_.isUndefined(app.author['@attributes']['mail'])) {
+ authors.push(app.author['@attributes']['mail']);
}
return OC.Settings.Apps._search(authors.join(' '), query);
}