Skip to content

Commit

Permalink
refactor: Fix bug in WopiDiscovery.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Aug 10, 2021
1 parent f963bff commit 8d80604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discovery/WopiDiscovery.php
Expand Up @@ -59,7 +59,7 @@ public function discoverExtension(string $extension): array

foreach ($actions as $action) {
$extensions[] = array_merge(
(array) $action->attributes(),
(array) current($action->attributes()),
['name' => (string) $app['name']],
['favIconUrl' => (string) $app['favIconUrl']]
);
Expand Down

0 comments on commit 8d80604

Please sign in to comment.