aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-19 10:41:51 +0000
committerMario <mario@mariovavti.com>2021-04-19 10:41:51 +0000
commitb5049651ad360bdfeaf994c4be1ffb10d4acbeb4 (patch)
treeb7d1c1c2890f27043d36881febe45e6795c1608d /include
parentc95a6fe1e5fb67c98e18096ed5c8759a2b554324 (diff)
parent70b204cb3fcbe48acf28583a193a025e21fa09cc (diff)
downloadvolse-hubzilla-b5049651ad360bdfeaf994c4be1ffb10d4acbeb4.tar.gz
volse-hubzilla-b5049651ad360bdfeaf994c4be1ffb10d4acbeb4.tar.bz2
volse-hubzilla-b5049651ad360bdfeaf994c4be1ffb10d4acbeb4.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include')
-rw-r--r--include/menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menu.php b/include/menu.php
index 88863f57b..02b05a36e 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -111,7 +111,7 @@ function menu_render($menu, $class='', $edit = false, $var = array()) {
$menu['items'][$x]['mitem_desc'] = zidify_links(smilies(bbcode($menu['items'][$x]['mitem_desc'])));
}
- $wrap = (($var['wrap'] === 'none') ? false : true);
+ $wrap = (! x($var, 'wrap') || $var['wrap'] === 'none' ? false : true);
$ret = replace_macros(get_markup_template('usermenu.tpl'),array(
'$menu' => $menu['menu'],