diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 0fc7f6c6f..869878e77 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -306,9 +306,9 @@ if ($_SESSION['userlevel'] >= '5' && ($app_count) > "0") $app_list = dbFetchRows("SELECT `app_type` FROM `applications` GROUP BY `app_type` ORDER BY `app_type`"); foreach ($app_list as $app) { - if (isset($row['app_type'])) { - $image = $config['html_dir']."/images/icons/".$row['app_type'].".png"; - $icon = (file_exists($image) ? $row['app_type'] : "apps"); + if (isset($app['app_type'])) { + $image = $config['html_dir']."/images/icons/".$app['app_type'].".png"; + $icon = (file_exists($image) ? $app['app_type'] : "apps"); echo('
  • '.nicecase($app['app_type']).'
  • '); }