Minor - fixing PHP warnings.

1.9.x
Julio Montoya 11 years ago
parent 387cf2a793
commit c17f564a40
  1. 4
      main/inc/lib/banner.lib.php

@ -293,10 +293,10 @@ function return_navigation_array() {
// Social Networking
if (api_get_setting('show_tabs', 'social') == 'true') {
if (api_get_setting('allow_social_tool') == 'true') {
$navigation['social'] = $possible_tabs['social'];
$navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
}
} else{
$menu_navigation['social'] = $possible_tabs['social'];
$menu_navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
}
// Dashboard

Loading…
Cancel
Save