diff --git a/html/pages/device/apps.inc.php b/html/pages/device/apps.inc.php index 215e8fd269..5bf5a21d6d 100644 --- a/html/pages/device/apps.inc.php +++ b/html/pages/device/apps.inc.php @@ -24,7 +24,7 @@ foreach (dbFetchRows("SELECT * FROM `applications` WHERE `device_id` = ?", array #echo(''); } $link_add = array('app'=>$app['app_type']); - $text = ucfirst($app['app_type']); + $text = nicecase($app['app_type']); if (!empty($app['app_instance'])) { $text .= "(".$app['app_instance'].")"; @@ -46,8 +46,6 @@ if($vars['instance']) $app = dbFetchRow("SELECT * FROM `applications` WHERE `device_id` = ? AND `app_type` = ?".$where, $where_array); -#print_r($app); - if (is_file("pages/device/apps/".mres($vars['app']).".inc.php")) { include("pages/device/apps/".mres($vars['app']).".inc.php");