Skip to content

Commit

Permalink
Misspelling !
Browse files Browse the repository at this point in the history
  • Loading branch information
nikrou committed Nov 10, 2017
1 parent 771bbbb commit 4f0a8f7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions include/menubar.inc.php
Expand Up @@ -36,7 +36,7 @@
if (($block = $menu->get_block('mbLinks')) && !empty($conf['links'])) {
$block->data = array();
foreach ($conf['links'] as $url => $url_data) {
if (!$is_array($url_data)) {
if (!is_array($url_data)) {
$url_data = array('label' => $url_data);
}

Expand All @@ -47,11 +47,10 @@
);

if (!isset($url_data['new_window']) || $url_data['new_window']) {
$tpl_var['new_window'] =
array(
'NAME' => (isset($url_data['nw_name']) ? $url_data['nw_name'] : ''),
'FEATURES' => (isset($url_data['nw_features']) ? $url_data['nw_features'] : '')
);
$tpl_var['new_window'] = array(
'NAME' => (isset($url_data['nw_name']) ? $url_data['nw_name'] : ''),
'FEATURES' => (isset($url_data['nw_features']) ? $url_data['nw_features'] : '')
);
}
$block->data[] = $tpl_var;
}
Expand Down

0 comments on commit 4f0a8f7

Please sign in to comment.