summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/legacy/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index ea98348a471..a33c9be20fc 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -181,7 +181,7 @@ class OC_App {
foreach ($plugins as $plugin) {
if($plugin['@attributes']['type'] === 'collaborator-search') {
$pluginInfo = [
- 'shareType' => $plugin['@attributes']['shareType'],
+ 'shareType' => $plugin['@attributes']['share-type'],
'class' => $plugin['@value'],
];
\OC::$server->getCollaboratorSearch()->registerPlugin($pluginInfo);