mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix #3905: accountTopMenu
renders redundant <li>
tag
This commit is contained in:
parent
500ac8c3c2
commit
66891348e9
@ -4,6 +4,7 @@ HumHub Change Log
|
||||
1.4.4 (Unreleased)
|
||||
---------------------
|
||||
- Fix #3908: `DateHelper::parseDateTime()` returns invalid date if given value is not parsable
|
||||
- Fix #3905: `accountTopMenu` renders redundant `<li>` tag
|
||||
|
||||
1.4.3 (March 4, 2020)
|
||||
---------------------
|
||||
|
@ -6,6 +6,7 @@
|
||||
* @license https://www.humhub.com/licences
|
||||
*/
|
||||
|
||||
use humhub\modules\ui\menu\DropdownDivider;
|
||||
use humhub\widgets\FooterMenu;
|
||||
use \yii\helpers\Html;
|
||||
use \yii\helpers\Url;
|
||||
@ -50,9 +51,9 @@ $userModel = Yii::$app->user->identity;
|
||||
</a>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<?php foreach ($entries as $entry): ?>
|
||||
<li>
|
||||
<?php if(!($entry instanceof DropdownDivider)) : ?><li><?php endif; ?>
|
||||
<?= $entry->render() ?>
|
||||
</li>
|
||||
<?php if(!($entry instanceof DropdownDivider)) : ?></li><?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<?= FooterMenu::widget(['location' => FooterMenu::LOCATION_ACCOUNT_MENU]); ?>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user