From ff6a0493245418a8fadbb731efda15663b326d0e Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Sun, 6 May 2012 19:46:39 +0000 Subject: [PATCH] more nicecase() git-svn-id: http://www.observium.org/svn/observer/trunk@3137 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/apps.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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");