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:
authorJochen <rothjochen@gmail.com>2019-09-09 21:31:08 +0300
committerJochen <rothjochen@gmail.com>2019-09-09 21:31:08 +0300
commite0ee53a5f0f859514c6fa985f4c22ef218503a3c (patch)
tree6c6e6a16506a5cfa55b58de8d6affaf77c098ef4 /core/templates
parent493a756f3bb119ba365dbe26a0ae8e699d02feda (diff)
Added name as fallback, in case label is not set
https://github.com/nextcloud/server/pull/16832#discussion_r322380822 Signed-off-by: Jochen <rothjochen@gmail.com>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 4daae2cb96d..e088ac39917 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -8,7 +8,7 @@ script('core', 'dist/login');
<?php if (!empty($_['alt_login'])) { ?>
<div id="alternative-logins">
<?php foreach($_['alt_login'] as $login): ?>
- <a class="button <?php p($login['style'] ?? ''); ?>" aria-label="<?php p($login['label'] ?? ''); ?>" href="<?php print_unescaped($login['href']); ?>" >
+ <a class="button <?php p($login['style'] ?? ''); ?>" aria-label="<?php p($login['label'] ?? $login['name']); ?>" href="<?php print_unescaped($login['href']); ?>" >
<?php p($login['name']); ?>
</a>
<?php endforeach; ?>