From 23b703ad90a4ed147ba4263cab5f93bb38325c81 Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 10 Mar 2015 14:13:32 +0000 Subject: [PATCH] Fixed Apps menu in topbar --- html/includes/print-menubar.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 0fc7f6c6f7..869878e77a 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']).'
  • '); }